projects
/
GitHub
/
mt8127
/
android_kernel_alcatel_ttab.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e610625
)
USB: Remove __KERNEL__ check from non-exported gadget.h.
author
Robert P. J. Day
<rpjday@crashcourse.ca>
Fri, 7 Mar 2008 16:40:07 +0000
(11:40 -0500)
committer
Greg Kroah-Hartman
<gregkh@suse.de>
Mon, 10 Mar 2008 23:42:26 +0000
(16:42 -0700)
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>
include/linux/usb/gadget.h
patch
|
blob
|
blame
|
history
diff --git
a/include/linux/usb/gadget.h
b/include/linux/usb/gadget.h
index aa3047ff00d13076e8ce29bd805b6a214b931945..f3295296b4353a5305ca3ee947d80b7ac3e0932b 100644
(file)
--- 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 */