diff options
author | David Woodhouse <dwmw2@infradead.org> | 2006-04-25 15:14:50 +0100 |
---|---|---|
committer | David Woodhouse <dwmw2@infradead.org> | 2006-04-25 15:14:50 +0100 |
commit | eae19a762de975e109394b1edcba6587323c7d1a (patch) | |
tree | e53c2fb47f3d574eaf6d29c33bf46a57fa4d3e8d /include/linux/usbdevice_fs.h | |
parent | 468db83658f776ec87a953778f18611301668148 (diff) | |
download | linux-rpi-eae19a762de975e109394b1edcba6587323c7d1a.tar.gz linux-rpi-eae19a762de975e109394b1edcba6587323c7d1a.tar.bz2 linux-rpi-eae19a762de975e109394b1edcba6587323c7d1a.zip |
Don't export CONFIG_COMPAT stuff in linux/usbdevice_fs.h to userspace
Signed-off-by: David Woodhouse <dwmw2@infradead.org>
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 { 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) |