Browse Source

USB: musb: Prevent multiple includes of musb.h

Add #ifndef to musb header file to prevent multiple inclusions.

Signed-off-by: Mark A. Greer <mgreer@mvista.com>
Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Mark A. Greer 16 years ago
parent
commit
fbfc396efb
1 changed files with 5 additions and 0 deletions
  1. 5 0
      include/linux/usb/musb.h

+ 5 - 0
include/linux/usb/musb.h

@@ -7,6 +7,9 @@
  * key configuration differences between boards.
  * key configuration differences between boards.
  */
  */
 
 
+#ifndef __LINUX_USB_MUSB_H
+#define __LINUX_USB_MUSB_H
+
 /* The USB role is defined by the connector used on the board, so long as
 /* The USB role is defined by the connector used on the board, so long as
  * standards are being followed.  (Developer boards sometimes won't.)
  * standards are being followed.  (Developer boards sometimes won't.)
  */
  */
@@ -101,3 +104,5 @@ extern int __init tusb6010_setup_interface(
 extern int tusb6010_platform_retime(unsigned is_refclk);
 extern int tusb6010_platform_retime(unsigned is_refclk);
 
 
 #endif	/* OMAP2 */
 #endif	/* OMAP2 */
+
+#endif /* __LINUX_USB_MUSB_H */