diff options
author | Robert P. J. Day <rpjday@crashcourse.ca> | 2008-03-07 11:40:07 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2008-03-10 19:42:26 -0400 |
commit | 20f590df4fbb962d1f8fcb12c4b4e790c7054045 (patch) | |
tree | bfd1dbf8c5df7f1af409fd83948f840d8d260107 /include | |
parent | e61062587d0484c3852e822e844416c728362438 (diff) |
USB: Remove __KERNEL__ check from non-exported gadget.h.
Since the header file gadget.h isn't being exported to userspace,
there seems to be little point having a __KERNEL__ proprocessor check.
Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/usb/gadget.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/include/linux/usb/gadget.h b/include/linux/usb/gadget.h index aa3047ff00d1..f3295296b435 100644 --- a/include/linux/usb/gadget.h +++ b/include/linux/usb/gadget.h | |||
@@ -15,8 +15,6 @@ | |||
15 | #ifndef __LINUX_USB_GADGET_H | 15 | #ifndef __LINUX_USB_GADGET_H |
16 | #define __LINUX_USB_GADGET_H | 16 | #define __LINUX_USB_GADGET_H |
17 | 17 | ||
18 | #ifdef __KERNEL__ | ||
19 | |||
20 | struct usb_ep; | 18 | struct usb_ep; |
21 | 19 | ||
22 | /** | 20 | /** |
@@ -848,6 +846,4 @@ extern struct usb_ep *usb_ep_autoconfig(struct usb_gadget *, | |||
848 | 846 | ||
849 | extern void usb_ep_autoconfig_reset(struct usb_gadget *) __devinit; | 847 | extern void usb_ep_autoconfig_reset(struct usb_gadget *) __devinit; |
850 | 848 | ||
851 | #endif /* __KERNEL__ */ | ||
852 | |||
853 | #endif /* __LINUX_USB_GADGET_H */ | 849 | #endif /* __LINUX_USB_GADGET_H */ |