1
0
Fork 0
alistair23-linux/arch/arm/plat-samsung
Krzysztof Kozlowski 2937774ef4 ARM: samsung: fix PM debug build with DEBUG_LL but !MMU
commit 7be0d19c75 upstream.

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: 99b2fc2b8b ("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
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2020-11-05 11:43:36 +01:00
..
include/plat ARM: s3c64xx: squash samsung_usb_phy.h into setup-usb-phy.c 2019-08-21 19:50:40 +02:00
Kconfig ARM: samsung: fix PM debug build with DEBUG_LL but !MMU 2020-11-05 11:43:36 +01:00
Makefile ARM: SAMSUNG: Add SPDX license identifiers 2018-01-03 18:43:13 +01:00
adc.c headers: fix build error in arch/arm/plat-samsung/adc.c, add <linux/mod_devicetable.h> 2018-07-08 15:19:04 +02:00
cpu.c ARM: SAMSUNG: Add SPDX license identifiers 2018-01-03 18:43:13 +01:00
dev-uart.c ARM: SAMSUNG: Add SPDX license identifiers 2018-01-03 18:43:13 +01:00
devs.c ARM: SAMSUNG: Add SPDX license identifiers 2018-01-03 18:43:13 +01:00
gpio-samsung.c ARM: SAMSUNG: Add SPDX license identifiers 2018-01-03 18:43:13 +01:00
init.c ARM: SAMSUNG: Add SPDX license identifiers 2018-01-03 18:43:13 +01:00
platformdata.c ARM: SAMSUNG: Add SPDX license identifiers 2018-01-03 18:43:13 +01:00
pm-check.c ARM: SAMSUNG: Add SPDX license identifiers 2018-01-03 18:43:13 +01:00
pm-common.c ARM: SAMSUNG: Add SPDX license identifiers 2018-01-03 18:43:13 +01:00
pm-debug.c ARM: SAMSUNG: Add SPDX license identifiers 2018-01-03 18:43:13 +01:00
pm-gpio.c ARM: SAMSUNG: Add SPDX license identifiers 2018-01-03 18:43:13 +01:00
pm.c ARM: SAMSUNG: Add SPDX license identifiers 2018-01-03 18:43:13 +01:00
wakeup-mask.c ARM: SAMSUNG: Add SPDX license identifiers 2018-01-03 18:43:13 +01:00
watchdog-reset.c ARM: samsung: Fix system restart on S3C6410 2019-09-09 20:54:35 +02:00