Skip to content

Commit

Permalink
USB: Remove __KERNEL__ check from non-exported gadget.h.
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Robert P. J. Day authored and Greg Kroah-Hartman committed Mar 10, 2008
1 parent e610625 commit 20f590d
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions include/linux/usb/gadget.h
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,6 @@
#ifndef __LINUX_USB_GADGET_H
#define __LINUX_USB_GADGET_H

#ifdef __KERNEL__

struct usb_ep;

/**
Expand Down Expand Up @@ -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 */

0 comments on commit 20f590d

Please sign in to comment.