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

USB: protect hcd.h from multiple inclusions

This will let us use this header in other header files.
Will be needed for the FHCI USB Host driver.

Signed-off-by: Anton Vorontsov <avorontsov@ru.mvista.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>

authored by

Anton Vorontsov and committed by
Greg Kroah-Hartman
aa459e6a b92a78e5

+4
+4
drivers/usb/core/hcd.h
··· 16 16 * Inc., 675 Mass Ave, Cambridge, MA 02139, USA. 17 17 */ 18 18 19 + #ifndef __USB_CORE_HCD_H 20 + #define __USB_CORE_HCD_H 19 21 20 22 #ifdef __KERNEL__ 21 23 ··· 492 490 extern unsigned long usb_hcds_loaded; 493 491 494 492 #endif /* __KERNEL__ */ 493 + 494 + #endif /* __USB_CORE_HCD_H */