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
12 * published by the Free Software Foundation.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
15enum s3c_hsotg_dmamode {18enum s3c_hsotg_dmamode {
16 S3C_HSOTG_DMA_NONE, /* do not use DMA at-all */19 S3C_HSOTG_DMA_NONE, /* do not use DMA at-all */
17 S3C_HSOTG_DMA_ONLY, /* always use DMA */20 S3C_HSOTG_DMA_ONLY, /* always use DMA */
@@ -33,3 +36,5 @@ struct s3c_hsotg_plat { · 15 unmodified lines
33};36};
34 37
35extern void s3c_hsotg_set_platdata(struct s3c_hsotg_plat *pd);38extern void s3c_hsotg_set_platdata(struct s3c_hsotg_plat *pd);
39
40#endif /* __LINUX_USB_S3C_HSOTG_H */