Skip to content

Commit

Permalink
ARM: SAMSUNG: header file revised to prevent declaring duplicated
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
MyungJoo Ham authored and Kukjin Kim committed Jul 5, 2011
1 parent a3df1d4 commit bb8bb57
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions arch/arm/plat-samsung/include/plat/devs.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,10 @@
* 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 {
Expand Down Expand Up @@ -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 */

0 comments on commit bb8bb57

Please sign in to comment.