]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/commitdiff
ARM: at91: declare header name
authorDaniel Lezcano <daniel.lezcano@linaro.org>
Tue, 24 Jan 2012 23:56:06 +0000 (00:56 +0100)
committerNicolas Ferre <nicolas.ferre@atmel.com>
Fri, 3 Feb 2012 12:42:19 +0000 (13:42 +0100)
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>
arch/arm/mach-at91/pm.h

index caac65f39838b0374b99a78c76cf2a9a6be24635..715813ed73e37b41525716766f223ee23313e992 100644 (file)
@@ -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 <mach/at91rm9200_mc.h>
 
@@ -95,3 +108,5 @@ static inline u32 sdram_selfrefresh_enable(void)
        cpu_do_idle()
 
 #endif
+
+#endif