aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/input/usbhid.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/usb/input/usbhid.h')
-rw-r--r--drivers/usb/input/usbhid.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/usb/input/usbhid.h b/drivers/usb/input/usbhid.h
index 830107e5251f..0023f96d4294 100644
--- a/drivers/usb/input/usbhid.h
+++ b/drivers/usb/input/usbhid.h
@@ -80,5 +80,8 @@ struct usbhid_device {
80 80
81}; 81};
82 82
83#define hid_to_usb_dev(hid_dev) \
84 container_of(hid_dev->dev->parent, struct usb_device, dev)
85
83#endif 86#endif
84 87