scummvm random work
[patches.git] / linux-use-__-types-in-usbdevice-fs-header.patch
1 Use __u32 rather than u32 in userspace ioctl defines.
2
3 Signed-off-by: Mike Frysinger <vapier@gentoo.org>
4
5 --- a/include/linux/usbdevice_fs.h
6 +++ b/include/linux/usbdevice_fs.h
7 @@ -159,9 +159,9 @@ struct usbdevfs_ioctl32 {
8 #define USBDEVFS_SUBMITURB32 _IOR('U', 10, struct usbdevfs_urb32)
9 #define USBDEVFS_DISCARDURB _IO('U', 11)
10 #define USBDEVFS_REAPURB _IOW('U', 12, void *)
11 -#define USBDEVFS_REAPURB32 _IOW('U', 12, u32)
12 +#define USBDEVFS_REAPURB32 _IOW('U', 12, __u32)
13 #define USBDEVFS_REAPURBNDELAY _IOW('U', 13, void *)
14 -#define USBDEVFS_REAPURBNDELAY32 _IOW('U', 13, u32)
15 +#define USBDEVFS_REAPURBNDELAY32 _IOW('U', 13, __u32)
16 #define USBDEVFS_DISCSIGNAL _IOR('U', 14, struct usbdevfs_disconnectsignal)
17 #define USBDEVFS_CLAIMINTERFACE _IOR('U', 15, unsigned int)
18 #define USBDEVFS_RELEASEINTERFACE _IOR('U', 16, unsigned int)