Skip to contentSkip to conversation

ARM: Samsung: Fix header double inclusion

PATCH New Kyungmin Park 1 participant 1 message Aug 31, 2010

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ARM: Samsung: Fix header double inclusion

From: Jaehoon Chung <[email protected]>

Fix the header double inclusion when use the devs.h

---

arch/arm/plat-samsung/include/plat/devs.h +7 -1
index 85f6f23..42581f8 100644
@@ -8,7 +8,11 @@
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License version 2 as
  * published by the Free Software Foundation.
-*/
+ */
+
+#ifndef __PLAT_SAMSUNG_DEVS_H
+#define __PLAT_SAMSUNG_DEVS_H
+
 #include <linux/platform_device.h>
 
 struct s3c24xx_uart_resources {
@@ -128,3 +132,5 @@ extern struct platform_device s3c_device_ac97;
  */
 extern void *s3c_set_platdata(void *pd, size_t pdsize,
 			      struct platform_device *pdev);
+
+#endif