Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Mark A. Greer and committed by
Greg Kroah-Hartman
fbfc396e a8aa401f

+5
+5
include/linux/usb/musb.h
··· 7 7 * key configuration differences between boards. 8 8 */ 9 9 10 + #ifndef __LINUX_USB_MUSB_H 11 + #define __LINUX_USB_MUSB_H 12 + 10 13 /* The USB role is defined by the connector used on the board, so long as 11 14 * standards are being followed. (Developer boards sometimes won't.) 12 15 */ ··· 104 101 extern int tusb6010_platform_retime(unsigned is_refclk); 105 102 106 103 #endif /* OMAP2 */ 104 + 105 + #endif /* __LINUX_USB_MUSB_H */