mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-17 17:24:17 +08:00
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>
This commit is contained in:
parent
b92a78e582
commit
aa459e6a2e
@ -16,6 +16,8 @@
|
|||||||
* Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
* Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#ifndef __USB_CORE_HCD_H
|
||||||
|
#define __USB_CORE_HCD_H
|
||||||
|
|
||||||
#ifdef __KERNEL__
|
#ifdef __KERNEL__
|
||||||
|
|
||||||
@ -490,3 +492,5 @@ extern struct rw_semaphore ehci_cf_port_reset_rwsem;
|
|||||||
extern unsigned long usb_hcds_loaded;
|
extern unsigned long usb_hcds_loaded;
|
||||||
|
|
||||||
#endif /* __KERNEL__ */
|
#endif /* __KERNEL__ */
|
||||||
|
|
||||||
|
#endif /* __USB_CORE_HCD_H */
|
||||||
|
Loading…
Reference in New Issue
Block a user