summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-at91
diff options
context:
space:
mode:
authorPhilippe Mazenauer <philippe.mazenauer@outlook.de>2019-05-22 11:36:57 +0200
committerAlexandre Belloni <alexandre.belloni@bootlin.com>2019-06-20 12:15:47 +0200
commit95701b1c3c8fe36368361394e3950094eece4723 (patch)
tree477bc1e34b0b9e332cb375e27f3ef38db1367f68 /arch/arm/mach-at91
parentLinux 5.2-rc1 (diff)
downloadlinux-95701b1c3c8fe36368361394e3950094eece4723.tar.xz
linux-95701b1c3c8fe36368361394e3950094eece4723.zip
arm: add missing include platform-data/atmel.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> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Diffstat (limited to 'arch/arm/mach-at91')
-rw-r--r--arch/arm/mach-at91/pm.c1
1 files changed, 1 insertions, 0 deletions
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>