aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/hid/usbhid/usbhid.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/hid/usbhid/usbhid.h b/drivers/hid/usbhid/usbhid.h
index 807922b49aa4..fa47d666cfcf 100644
--- a/drivers/hid/usbhid/usbhid.h
+++ b/drivers/hid/usbhid/usbhid.h
@@ -96,7 +96,7 @@ struct usbhid_device {
96}; 96};
97 97
98#define hid_to_usb_dev(hid_dev) \ 98#define hid_to_usb_dev(hid_dev) \
99 container_of(hid_dev->dev.parent->parent, struct usb_device, dev) 99 to_usb_device(hid_dev->dev.parent->parent)
100 100
101#endif 101#endif
102 102