Skip to content

Commit 7be0d19

Browse files
committed
ARM: samsung: fix PM debug build with DEBUG_LL but !MMU
Selecting CONFIG_SAMSUNG_PM_DEBUG (depending on CONFIG_DEBUG_LL) but without CONFIG_MMU leads to build errors: arch/arm/plat-samsung/pm-debug.c: In function ‘s3c_pm_uart_base’: arch/arm/plat-samsung/pm-debug.c:57:2: error: implicit declaration of function ‘debug_ll_addr’ [-Werror=implicit-function-declaration] Fixes: 99b2fc2 ("ARM: SAMSUNG: Use debug_ll_addr() to get UART base address") Reported-by: kernel test robot <lkp@intel.com> Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org> Cc: <stable@vger.kernel.org> Link: https://lore.kernel.org/r/20200910154150.3318-1-krzk@kernel.org
1 parent 8caa6ed commit 7be0d19

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

arch/arm/plat-samsung/Kconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -241,6 +241,7 @@ config SAMSUNG_PM_DEBUG
241241
depends on PM && DEBUG_KERNEL
242242
depends on PLAT_S3C24XX || ARCH_S3C64XX || ARCH_S5PV210
243243
depends on DEBUG_EXYNOS_UART || DEBUG_S3C24XX_UART || DEBUG_S3C2410_UART
244+
depends on DEBUG_LL && MMU
244245
help
245246
Say Y here if you want verbose debugging from the PM Suspend and
246247
Resume code. See <file:Documentation/arm/samsung-s3c24xx/suspend.rst>

0 commit comments

Comments
 (0)