Skip to content

Commit

Permalink
USB: musb: Prevent multiple includes of musb.h
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Mark A. Greer authored and Greg Kroah-Hartman committed Apr 23, 2009
1 parent a8aa401 commit fbfc396
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions include/linux/usb/musb.h
Original file line number Diff line number Diff line change
Expand Up @@ -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.)
*/
Expand Down Expand Up @@ -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 */

0 comments on commit fbfc396

Please sign in to comment.