summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-at91/generic.h
diff options
context:
space:
mode:
authorJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>2012-02-05 13:25:32 +0100
committerNicolas Ferre <nicolas.ferre@atmel.com>2012-02-17 17:54:05 +0100
commit0d78171672a30e8ec8084f54a557e9948260356d (patch)
tree68d9406fbd277896eed3a8b0447f0729dd0b979c /arch/arm/mach-at91/generic.h
parentMerge remote-tracking branch 'armsoc/at91/9x5' into at91-3.4-base2 (diff)
downloadlinux-0d78171672a30e8ec8084f54a557e9948260356d.tar.xz
linux-0d78171672a30e8ec8084f54a557e9948260356d.zip
ARM: at91: factorise duplicated at91sam9 idle
Remove duplicated at91sam9xxxx_idle() functions introduced by commit c9dfafb "ARM: mach-at91: move special idle code out of line". Replace by a generic at91sam9_idle() function in setup.c common location. Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Acked-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Diffstat (limited to '')
-rw-r--r--arch/arm/mach-at91/generic.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/arm/mach-at91/generic.h b/arch/arm/mach-at91/generic.h
index 7e8280e798c1..4e322f3492bf 100644
--- a/arch/arm/mach-at91/generic.h
+++ b/arch/arm/mach-at91/generic.h
@@ -56,6 +56,9 @@ struct device;
extern void at91_irq_suspend(void);
extern void at91_irq_resume(void);
+/* idle */
+extern void at91sam9_idle(void);
+
/* reset */
extern void at91_ioremap_rstc(u32 base_addr);
extern void at91sam9_alt_restart(char, const char *);