Message ID | VI1PR07MB443209D29ADFA139B9735D89FD000@VI1PR07MB4432.eurprd07.prod.outlook.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | arm: add missing include platform-data/atmel.h | expand |
Hi, On 22/05/2019 09:36:57+0000, Philippe Mazenauer wrote: > Include corresponding headerfile <linux/platform-data/atmel.h> for > function at91_suspend_entering_slow_clock(). > > ../arch/arm/mach-at91/pm.c:279:5: warning: no previous prototype for ‘at91_suspend_entering_slow_clock’ [-Wmissing-prototypes] > int at91_suspend_entering_slow_clock(void) > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > > Signed-off-by: Philippe Mazenauer <philippe.mazenauer@outlook.de> > --- > arch/arm/mach-at91/pm.c | 1 + > 1 file changed, 1 insertion(+) > Applied, thanks.
diff --git a/arch/arm/mach-at91/pm.c b/arch/arm/mach-at91/pm.c index 6c8147536f3d..1c88b47c236f 100644 --- a/arch/arm/mach-at91/pm.c +++ b/arch/arm/mach-at91/pm.c @@ -19,6 +19,7 @@ #include <linux/suspend.h> #include <linux/clk/at91_pmc.h> +#include <linux/platform_data/atmel.h> #include <asm/cacheflush.h> #include <asm/fncpy.h>
Include corresponding headerfile <linux/platform-data/atmel.h> for function at91_suspend_entering_slow_clock(). ../arch/arm/mach-at91/pm.c:279:5: warning: no previous prototype for ‘at91_suspend_entering_slow_clock’ [-Wmissing-prototypes] int at91_suspend_entering_slow_clock(void) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Signed-off-by: Philippe Mazenauer <philippe.mazenauer@outlook.de> --- arch/arm/mach-at91/pm.c | 1 + 1 file changed, 1 insertion(+)