Messages in this thread Patch in this message | | | From | Philippe Mazenauer <> | Subject | [PATCH] arm: highbank: add missing include "core.h" | Date | Wed, 22 May 2019 09:54:56 +0000 |
| |
Include corresponding header file "core.h" for function highbank_pm_init().
../arch/arm/mach-highbank/pm.c:54:13: warning: no previous prototype for ‘highbank_pm_init’ [-Wmissing-prototypes] void __init highbank_pm_init(void) ^~~~~~~~~~~~~~~~
Signed-off-by: Philippe Mazenauer <philippe.mazenauer@outlook.de> --- arch/arm/mach-highbank/pm.c | 2 ++ 1 file changed, 2 insertions(+)
diff --git a/arch/arm/mach-highbank/pm.c b/arch/arm/mach-highbank/pm.c index 400311695548..3580dde7c3da 100644 --- a/arch/arm/mach-highbank/pm.c +++ b/arch/arm/mach-highbank/pm.c @@ -23,6 +23,8 @@ #include <uapi/linux/psci.h> +#include "core.h" + #define HIGHBANK_SUSPEND_PARAM \ ((0 << PSCI_0_2_POWER_STATE_ID_SHIFT) | \ (1 << PSCI_0_2_POWER_STATE_AFFL_SHIFT) | \ -- 2.17.1
| |