ARM: SAMSUNG: fix to prevent declaring duplicated
authorKukjin Kim <kgene.kim@samsung.com>
Fri, 19 Aug 2011 12:12:19 +0000 (21:12 +0900)
committerKukjin Kim <kgene.kim@samsung.com>
Thu, 15 Sep 2011 06:54:15 +0000 (15:54 +0900)
The plat/clock.h revised to prevent declaring duplicated.

Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
arch/arm/plat-samsung/include/plat/clock.h

index 8f95700d296e68a19d2194f8e19f5e5c34846456..73c66d4d10fa4d30919a24af5ed2ee9ea1f885fc 100644 (file)
@@ -9,6 +9,9 @@
  * published by the Free Software Foundation.
 */
 
+#ifndef __ASM_PLAT_CLOCK_H
+#define __ASM_PLAT_CLOCK_H __FILE__
+
 #include <linux/spinlock.h>
 #include <linux/clkdev.h>
 
@@ -124,3 +127,5 @@ extern void s3c_pwmclk_init(void);
 /* Global watchdog clock used by arch_wtd_reset() callback */
 
 extern struct clk *s3c2410_wdtclk;
+
+#endif /* __ASM_PLAT_CLOCK_H */