Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 20f590df authored by Robert P. J. Day's avatar Robert P. J. Day Committed by Greg Kroah-Hartman
Browse files

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: default avatarRobert P. J. Day <rpjday@crashcourse.ca>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent e6106258
Loading
Loading
Loading
Loading
+0 −4
Original line number Diff line number Diff line
@@ -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 */