[PATCH 04/13] ARM: imx: add missing include

Arnd Bergmann arnd at kernel.org
Tue May 16 08:31:00 PDT 2023


From: Arnd Bergmann <arnd at arndb.de>

imx25_pm_init() is declared in common.h but this is not included
before its definition:

arch/arm/mach-imx/pm-imx25.c:31:13: error: no previous prototype for 'imx25_pm_init'

Signed-off-by: Arnd Bergmann <arnd at arndb.de>
---
 arch/arm/mach-imx/pm-imx25.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/arm/mach-imx/pm-imx25.c b/arch/arm/mach-imx/pm-imx25.c
index f253e5019465..0c574e8607fd 100644
--- a/arch/arm/mach-imx/pm-imx25.c
+++ b/arch/arm/mach-imx/pm-imx25.c
@@ -6,6 +6,7 @@
 #include <linux/kernel.h>
 #include <linux/suspend.h>
 #include <linux/io.h>
+#include "common.h"
 
 static int imx25_suspend_enter(suspend_state_t state)
 {
-- 
2.39.2




More information about the linux-arm-kernel mailing list