diff options
| author | Dmitry Torokhov <dtor_core@ameritech.net> | 2006-06-26 01:31:38 -0400 |
|---|---|---|
| committer | Dmitry Torokhov <dtor_core@ameritech.net> | 2006-06-26 01:31:38 -0400 |
| commit | 4854c7b27f0975a2b629f35ea3996d2968eb7c4f (patch) | |
| tree | 4102bdb70289764a2058aff0f907b13d7cf0e0d1 /include/linux/usbdevice_fs.h | |
| parent | 3cbd5b32cb625f5c0f1b1476d154fac873dd49ce (diff) | |
| parent | fcc18e83e1f6fd9fa6b333735bf0fcd530655511 (diff) | |
Merge rsync://rsync.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6
Diffstat (limited to 'include/linux/usbdevice_fs.h')
| -rw-r--r-- | include/linux/usbdevice_fs.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/usbdevice_fs.h b/include/linux/usbdevice_fs.h index 8859f0b41543..7b7aadb69092 100644 --- a/include/linux/usbdevice_fs.h +++ b/include/linux/usbdevice_fs.h | |||
| @@ -123,6 +123,7 @@ struct usbdevfs_hub_portinfo { | |||
| 123 | char port [127]; /* e.g. port 3 connects to device 27 */ | 123 | char port [127]; /* e.g. port 3 connects to device 27 */ |
| 124 | }; | 124 | }; |
| 125 | 125 | ||
| 126 | #ifdef __KERNEL__ | ||
| 126 | #ifdef CONFIG_COMPAT | 127 | #ifdef CONFIG_COMPAT |
| 127 | #include <linux/compat.h> | 128 | #include <linux/compat.h> |
| 128 | struct usbdevfs_urb32 { | 129 | struct usbdevfs_urb32 { |
| @@ -147,6 +148,7 @@ struct usbdevfs_ioctl32 { | |||
| 147 | compat_caddr_t data; | 148 | compat_caddr_t data; |
| 148 | }; | 149 | }; |
| 149 | #endif | 150 | #endif |
| 151 | #endif /* __KERNEL__ */ | ||
| 150 | 152 | ||
| 151 | #define USBDEVFS_CONTROL _IOWR('U', 0, struct usbdevfs_ctrltransfer) | 153 | #define USBDEVFS_CONTROL _IOWR('U', 0, struct usbdevfs_ctrltransfer) |
| 152 | #define USBDEVFS_BULK _IOWR('U', 2, struct usbdevfs_bulktransfer) | 154 | #define USBDEVFS_BULK _IOWR('U', 2, struct usbdevfs_bulktransfer) |
