diff options
author | Jiri Kosina <jkosina@suse.cz> | 2011-10-25 09:58:12 +0200 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2011-10-25 09:58:12 +0200 |
commit | f6f12427844516bc8e9cf84f43aca7bbbaa48157 (patch) | |
tree | c3ac710e02d65fc08629b25fcfba0e79e0092910 /drivers/hid/usbhid/hiddev.c | |
parent | b0eae38cebc54e618896d3e6a799939da51a8cac (diff) | |
parent | bca621421c53caf73f36e181d6e5fe41fe0da7a7 (diff) |
Merge branch 'upstream-fixes' into for-linus
Conflicts:
drivers/hid/hid-wacom.c
Diffstat (limited to 'drivers/hid/usbhid/hiddev.c')
-rw-r--r-- | drivers/hid/usbhid/hiddev.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/hid/usbhid/hiddev.c b/drivers/hid/usbhid/hiddev.c index 7c1188b53c3..4ef02b269a7 100644 --- a/drivers/hid/usbhid/hiddev.c +++ b/drivers/hid/usbhid/hiddev.c @@ -641,6 +641,8 @@ static long hiddev_ioctl(struct file *file, unsigned int cmd, unsigned long arg) struct usb_device *dev = hid_to_usb_dev(hid); struct usbhid_device *usbhid = hid->driver_data; + memset(&dinfo, 0, sizeof(dinfo)); + dinfo.bustype = BUS_USB; dinfo.busnum = dev->bus->busnum; dinfo.devnum = dev->devnum; |