diff options
author | Sachin Kamat <sachin.kamat@linaro.org> | 2012-07-17 07:07:45 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-07-17 13:54:29 -0400 |
commit | 66177cc10295ffdfc613c06f59b07a577d91ee82 (patch) | |
tree | f6b5b5039952467d91d81ecfa381bfec852078e6 | |
parent | fd81d59c90d38661e4891ee2f4c9b7c051e93022 (diff) |
usb: s3c-hsotg: Add header file protection macros in s3c-hsotg.h
Adds header file protection macros to avoid multiple inclusion.
Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r-- | include/linux/platform_data/s3c-hsotg.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/linux/platform_data/s3c-hsotg.h b/include/linux/platform_data/s3c-hsotg.h index 97ec12c2ded4..8b79e0967f9c 100644 --- a/include/linux/platform_data/s3c-hsotg.h +++ b/include/linux/platform_data/s3c-hsotg.h | |||
@@ -12,6 +12,9 @@ | |||
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 | |||
15 | enum s3c_hsotg_dmamode { | 18 | enum 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 { | |||
33 | }; | 36 | }; |
34 | 37 | ||
35 | extern void s3c_hsotg_set_platdata(struct s3c_hsotg_plat *pd); | 38 | extern void s3c_hsotg_set_platdata(struct s3c_hsotg_plat *pd); |
39 | |||
40 | #endif /* __LINUX_USB_S3C_HSOTG_H */ | ||