ARM: at91: fix warnings in pm.c
authorBen Dooks <ben.dooks@codethink.co.uk>
Fri, 17 Jun 2016 15:34:18 +0000 (16:34 +0100)
committerAlexandre Belloni <alexandre.belloni@free-electrons.com>
Tue, 21 Jun 2016 15:32:31 +0000 (17:32 +0200)
commitab6778eee51b72f2dae79763bf918e3d43331c12
treef1ae043b8eb7c1c3e2861b1c854269ae8beb79c1
parentb2f8c3d5e24d4de8166b68dcde457c093990815d
ARM: at91: fix warnings in pm.c

Fix a pair of missing statics on un-exported functions and
include <linux/platform_data/atmel.h> to provide the declaration
of at91_suspend_entering_slow_clock() to fix the following
sparse warnings:

arch/arm/mach-at91/pm.c:127:5: warning: symbol 'at91_suspend_entering_slow_clock' was not declared. Should it be static?
arch/arm/mach-at91/pm.c:358:6: warning: symbol 'at91rm9200_idle' was not declared. Should it be static?
arch/arm/mach-at91/pm.c:367:6: warning: symbol 'at91sam9_idle' was not declared. Should it be static?

Signed-off-by: Ben Dooks <ben.dooks@codethink.co.uk>
Acked-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
arch/arm/mach-at91/pm.c