From: Robert P. J. Day Date: Fri, 7 Mar 2008 16:40:07 +0000 (-0500) Subject: USB: Remove __KERNEL__ check from non-exported gadget.h. X-Git-Tag: v2.6.25-rc6~45^2~3 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=20f590df4fbb962d1f8fcb12c4b4e790c7054045;p=linux-2.6 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 Signed-off-by: Greg Kroah-Hartman --- diff --git a/include/linux/usb/gadget.h b/include/linux/usb/gadget.h index aa3047ff00..f3295296b4 100644 --- a/include/linux/usb/gadget.h +++ b/include/linux/usb/gadget.h @@ -15,8 +15,6 @@ #ifndef __LINUX_USB_GADGET_H #define __LINUX_USB_GADGET_H -#ifdef __KERNEL__ - struct usb_ep; /** @@ -848,6 +846,4 @@ extern struct usb_ep *usb_ep_autoconfig(struct usb_gadget *, extern void usb_ep_autoconfig_reset(struct usb_gadget *) __devinit; -#endif /* __KERNEL__ */ - #endif /* __LINUX_USB_GADGET_H */