Skip to content

Commit

Permalink
usb: s3c-hsotg: Add header file protection macros in s3c-hsotg.h
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Sachin Kamat authored and Greg Kroah-Hartman committed Jul 17, 2012
1 parent fd81d59 commit 66177cc
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions include/linux/platform_data/s3c-hsotg.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@
* published by the Free Software Foundation.
*/

#ifndef __LINUX_USB_S3C_HSOTG_H
#define __LINUX_USB_S3C_HSOTG_H

enum s3c_hsotg_dmamode {
S3C_HSOTG_DMA_NONE, /* do not use DMA at-all */
S3C_HSOTG_DMA_ONLY, /* always use DMA */
Expand All @@ -33,3 +36,5 @@ struct s3c_hsotg_plat {
};

extern void s3c_hsotg_set_platdata(struct s3c_hsotg_plat *pd);

#endif /* __LINUX_USB_S3C_HSOTG_H */

0 comments on commit 66177cc

Please sign in to comment.