projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a8aa401
)
USB: musb: Prevent multiple includes of musb.h
author
Mark A. Greer
<
[email protected]
>
Wed, 22 Apr 2009 03:52:54 +0000
(20:52 -0700)
committer
Greg Kroah-Hartman
<
[email protected]
>
Thu, 23 Apr 2009 21:15:28 +0000
(14:15 -0700)
Add #ifndef to musb header file to prevent multiple inclusions.
Signed-off-by: Mark A. Greer <
[email protected]
>
Signed-off-by: David Brownell <
[email protected]
>
Signed-off-by: Greg Kroah-Hartman <
[email protected]
>
include/linux/usb/musb.h
patch
|
blob
|
history
diff --git
a/include/linux/usb/musb.h
b/include/linux/usb/musb.h
index d6aad0ea603336c2442924fe9f5b10969380ff45..d43755669261a6a1406af177d01b2c13ddf2ab77 100644
(file)
--- 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 */