]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
ARM: samsung: fix PM debug build with DEBUG_LL but !MMU
authorKrzysztof Kozlowski <krzk@kernel.org>
Thu, 10 Sep 2020 15:41:49 +0000 (17:41 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 5 Nov 2020 10:08:55 +0000 (11:08 +0100)
commit8ad5b2cf6cd9db71048314d893465afd7dfdd9d4
treecc5e109dc22a1a520338e5d645ea650f3bb8e7be
parent99a1adfae331427df2c84f4be556cdf2fdd6e98d
ARM: samsung: fix PM debug build with DEBUG_LL but !MMU

commit 7be0d19c751b02db778ca95e3274d5ea7f31891c 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: 99b2fc2b8b40 ("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>
arch/arm/plat-samsung/Kconfig