projects
/
deliverable
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
468db83
)
Don't export CONFIG_COMPAT stuff in linux/usbdevice_fs.h to userspace
author
David Woodhouse
<dwmw2@infradead.org>
Tue, 25 Apr 2006 14:14:50 +0000
(15:14 +0100)
committer
David Woodhouse
<dwmw2@infradead.org>
Tue, 25 Apr 2006 14:14:50 +0000
(15:14 +0100)
Signed-off-by: David Woodhouse <dwmw2@infradead.org>
include/linux/usbdevice_fs.h
patch
|
blob
|
blame
|
history
diff --git
a/include/linux/usbdevice_fs.h
b/include/linux/usbdevice_fs.h
index 8859f0b415430186305180cc3c5d35aac1e95abe..7b7aadb690920c2d6dd00c6ea0a4fc32b96f14e4 100644
(file)
--- a/
include/linux/usbdevice_fs.h
+++ b/
include/linux/usbdevice_fs.h
@@
-123,6
+123,7
@@
struct usbdevfs_hub_portinfo {
char port [127]; /* e.g. port 3 connects to device 27 */
};
+#ifdef __KERNEL__
#ifdef CONFIG_COMPAT
#include <linux/compat.h>
struct usbdevfs_urb32 {
@@
-147,6
+148,7
@@
struct usbdevfs_ioctl32 {
compat_caddr_t data;
};
#endif
+#endif /* __KERNEL__ */
#define USBDEVFS_CONTROL _IOWR('U', 0, struct usbdevfs_ctrltransfer)
#define USBDEVFS_BULK _IOWR('U', 2, struct usbdevfs_bulktransfer)
This page took
0.02509 seconds
and
5
git commands to generate.