aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-at91
diff options
context:
space:
mode:
authorDaniel Lezcano <daniel.lezcano@linaro.org>2012-01-24 18:56:06 -0500
committerNicolas Ferre <nicolas.ferre@atmel.com>2012-02-03 07:42:19 -0500
commitfa50ae9c100225964eafc7214c70a8c08e70e50e (patch)
tree61efb09232926fb1bd10b51dd1de473bbd2e01ad /arch/arm/mach-at91
parentc54b7bbbd25600007d452909e6fac39fd36bbc98 (diff)
ARM: at91: declare header name
Add the header and define the macro to prevent multiple inclusion like the others headers. Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org> Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Diffstat (limited to 'arch/arm/mach-at91')
-rw-r--r--arch/arm/mach-at91/pm.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/arch/arm/mach-at91/pm.h b/arch/arm/mach-at91/pm.h
index caac65f39838..715813ed73e3 100644
--- a/arch/arm/mach-at91/pm.h
+++ b/arch/arm/mach-at91/pm.h
@@ -1,3 +1,16 @@
1/*
2 * AT91 Power Management
3 *
4 * Copyright (C) 2005 David Brownell
5 *
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation; either version 2 of the License, or
9 * (at your option) any later version.
10 */
11#ifndef __ARCH_ARM_MACH_AT91_PM
12#define __ARCH_ARM_MACH_AT91_PM
13
1#ifdef CONFIG_ARCH_AT91RM9200 14#ifdef CONFIG_ARCH_AT91RM9200
2#include <mach/at91rm9200_mc.h> 15#include <mach/at91rm9200_mc.h>
3 16
@@ -95,3 +108,5 @@ static inline u32 sdram_selfrefresh_enable(void)
95 cpu_do_idle() 108 cpu_do_idle()
96 109
97#endif 110#endif
111
112#endif