From fa50ae9c100225964eafc7214c70a8c08e70e50e Mon Sep 17 00:00:00 2001 From: Daniel Lezcano Date: Wed, 25 Jan 2012 00:56:06 +0100 Subject: [PATCH] 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 Signed-off-by: Nicolas Ferre --- arch/arm/mach-at91/pm.h | 15 +++++++++++++++ 1 file changed, 15 insertions(+) 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 @@ +/* + * AT91 Power Management + * + * Copyright (C) 2005 David Brownell + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + */ +#ifndef __ARCH_ARM_MACH_AT91_PM +#define __ARCH_ARM_MACH_AT91_PM + #ifdef CONFIG_ARCH_AT91RM9200 #include @@ -95,3 +108,5 @@ static inline u32 sdram_selfrefresh_enable(void) cpu_do_idle() #endif + +#endif -- 2.20.1