summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-at91/generic.h
diff options
context:
space:
mode:
authorAlexandre Belloni <alexandre.belloni@free-electrons.com>2015-09-30 01:58:40 +0200
committerAlexandre Belloni <alexandre.belloni@free-electrons.com>2016-02-17 17:53:02 +0100
commitfbc7edca5a7dd417013ef4900763ef931f325b3d (patch)
tree39af724e49947af4476cc7277a2aa8bb3a8d824a /arch/arm/mach-at91/generic.h
parent5737b73e193ba9d09286b621eecd9db3f3c6abd2 (diff)
downloadlinux-stable-fbc7edca5a7dd417013ef4900763ef931f325b3d.tar.gz
linux-stable-fbc7edca5a7dd417013ef4900763ef931f325b3d.tar.bz2
linux-stable-fbc7edca5a7dd417013ef4900763ef931f325b3d.zip
ARM: at91: pm: move idle functions to pm.c
Avoid using code from clk/at91 for PM. This also has the bonus effect of setting arm_pm_idle for sama5 platforms. Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com> Acked-by: Boris Brezillon <boris.brezillon@free-electrons.com>
Diffstat (limited to 'arch/arm/mach-at91/generic.h')
-rw-r--r--arch/arm/mach-at91/generic.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/arch/arm/mach-at91/generic.h b/arch/arm/mach-at91/generic.h
index b0fa7dc7286d..d224e195706a 100644
--- a/arch/arm/mach-at91/generic.h
+++ b/arch/arm/mach-at91/generic.h
@@ -18,20 +18,18 @@
extern void __init at91_map_io(void);
extern void __init at91_alt_map_io(void);
-/* idle */
-extern void at91rm9200_idle(void);
-extern void at91sam9_idle(void);
-
#ifdef CONFIG_PM
extern void __init at91rm9200_pm_init(void);
extern void __init at91sam9260_pm_init(void);
extern void __init at91sam9g45_pm_init(void);
extern void __init at91sam9x5_pm_init(void);
+extern void __init sama5_pm_init(void);
#else
static inline void __init at91rm9200_pm_init(void) { }
static inline void __init at91sam9260_pm_init(void) { }
static inline void __init at91sam9g45_pm_init(void) { }
static inline void __init at91sam9x5_pm_init(void) { }
+static inline void __init sama5_pm_init(void) { }
#endif
#endif /* _AT91_GENERIC_H */