Adds header file protection macros to avoid multiple inclusion.
Showing the changes to include/linux/platform_data (1 of 1 file). Show all
Unified · Split
| @@ -12,6 +12,9 @@ · 11 unmodified lines | ||
| 12 | 12 | * published by the Free Software Foundation. |
| 13 | 13 | */ |
| 14 | 14 | |
| 15 | +#ifndef __LINUX_USB_S3C_HSOTG_H | |
| 16 | +#define __LINUX_USB_S3C_HSOTG_H | |
| 17 | + | |
| 15 | 18 | enum s3c_hsotg_dmamode { |
| 16 | 19 | S3C_HSOTG_DMA_NONE, /* do not use DMA at-all */ |
| 17 | 20 | S3C_HSOTG_DMA_ONLY, /* always use DMA */ |
| @@ -33,3 +36,5 @@ struct s3c_hsotg_plat { · 15 unmodified lines | ||
| 33 | 36 | }; |
| 34 | 37 | |
| 35 | 38 | extern void s3c_hsotg_set_platdata(struct s3c_hsotg_plat *pd); |
| 39 | + | |
| 40 | +#endif /* __LINUX_USB_S3C_HSOTG_H */ | |