History

usb: s3c-hsotg: Add header file protection macros in s3c-hsotg.h

Adds header file protection macros to avoid multiple inclusion.

Sachin Kamat committed 14 years ago

Commit 66177cc1 parent fd81d591 file · +5 −0Browse files

Showing the changes to include/linux/platform_data (1 of 1 file). Show all

Unified · Split

include/linux/platform_data/s3c-hsotg.h+5−0
@@ -12,6 +12,9 @@ · 11 unmodified lines
1212 * published by the Free Software Foundation.
1313 */
1414
15+#ifndef __LINUX_USB_S3C_HSOTG_H
16+#define __LINUX_USB_S3C_HSOTG_H
17+
1518 enum s3c_hsotg_dmamode {
1619 S3C_HSOTG_DMA_NONE, /* do not use DMA at-all */
1720 S3C_HSOTG_DMA_ONLY, /* always use DMA */
@@ -33,3 +36,5 @@ struct s3c_hsotg_plat { · 15 unmodified lines
3336 };
3437
3538 extern void s3c_hsotg_set_platdata(struct s3c_hsotg_plat *pd);
39+
40+#endif /* __LINUX_USB_S3C_HSOTG_H */