projects
/
powerpc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
ucc_geth: migrate ucc_geth to phylib
[powerpc.git]
/
drivers
/
usb
/
input
/
usbhid.h
diff --git
a/drivers/usb/input/usbhid.h
b/drivers/usb/input/usbhid.h
index
830107e
..
0023f96
100644
(file)
--- a/
drivers/usb/input/usbhid.h
+++ b/
drivers/usb/input/usbhid.h
@@
-80,5
+80,8
@@
struct usbhid_device {
};
+#define hid_to_usb_dev(hid_dev) \
+ container_of(hid_dev->dev->parent, struct usb_device, dev)
+
#endif