ARM: SAMSUNG: header file revised to prevent declaring duplicated
authorMyungJoo Ham <myungjoo.ham@samsung.com>
Wed, 22 Jun 2011 09:03:21 +0000 (18:03 +0900)
committerKukjin Kim <kgene.kim@samsung.com>
Tue, 5 Jul 2011 23:43:02 +0000 (08:43 +0900)
There has been no #ifndef - #define - #endif protection for this
header file.

Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
arch/arm/plat-samsung/include/plat/devs.h

index 4af108f..e3b31c2 100644 (file)
  * it under the terms of the GNU General Public License version 2 as
  * published by the Free Software Foundation.
 */
+
+#ifndef __PLAT_DEVS_H
+#define __PLAT_DEVS_H __FILE__
+
 #include <linux/platform_device.h>
 
 struct s3c24xx_uart_resources {
@@ -159,3 +163,5 @@ extern struct platform_device s3c_device_ac97;
  */
 extern void *s3c_set_platdata(void *pd, size_t pdsize,
                              struct platform_device *pdev);
+
+#endif /* __PLAT_DEVS_H */