summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMark A. Greer <mgreer@mvista.com>2009-04-21 20:52:54 -0700
committerGreg Kroah-Hartman <gregkh@suse.de>2009-04-23 14:15:28 -0700
commitfbfc396efbc11d784b4325adfc02e82a0df01a8d (patch)
tree8e391a13da80dbe1381be51849bc84967024c193
parenta8aa401f38cfb5fa26e970b48e93fb851d68fe64 (diff)
downloadop-kernel-dev-fbfc396efbc11d784b4325adfc02e82a0df01a8d.zip
op-kernel-dev-fbfc396efbc11d784b4325adfc02e82a0df01a8d.tar.gz
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>
-rw-r--r--include/linux/usb/musb.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/linux/usb/musb.h b/include/linux/usb/musb.h
index d6aad0e..d437556 100644
--- a/include/linux/usb/musb.h
+++ b/include/linux/usb/musb.h
@@ -7,6 +7,9 @@
* 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
* 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);
#endif /* OMAP2 */
+
+#endif /* __LINUX_USB_MUSB_H */
OpenPOWER on IntegriCloud