Commit 6dbe965a authored by Thomas Weißschuh's avatar Thomas Weißschuh Committed by Jiri Kosina

HID: Unexport struct usb_hid_driver

As no external users remain this implementation detail does not need to
be exported anymore.
Signed-off-by: default avatarThomas Weißschuh <linux@weissschuh.net>
Reviewed-by: default avatarDavid Rheinsberg <david.rheinsberg@gmail.com>
Reviewed-by: default avatarHans de Goede <hdegoede@redhat.com>
Signed-off-by: default avatarJiri Kosina <jkosina@suse.cz>
parent 1d9ca84c
...@@ -1318,7 +1318,7 @@ static bool usbhid_may_wakeup(struct hid_device *hid) ...@@ -1318,7 +1318,7 @@ static bool usbhid_may_wakeup(struct hid_device *hid)
return device_may_wakeup(&dev->dev); return device_may_wakeup(&dev->dev);
} }
struct hid_ll_driver usb_hid_driver = { static struct hid_ll_driver usb_hid_driver = {
.parse = usbhid_parse, .parse = usbhid_parse,
.start = usbhid_start, .start = usbhid_start,
.stop = usbhid_stop, .stop = usbhid_stop,
...@@ -1332,7 +1332,6 @@ struct hid_ll_driver usb_hid_driver = { ...@@ -1332,7 +1332,6 @@ struct hid_ll_driver usb_hid_driver = {
.idle = usbhid_idle, .idle = usbhid_idle,
.may_wakeup = usbhid_may_wakeup, .may_wakeup = usbhid_may_wakeup,
}; };
EXPORT_SYMBOL_GPL(usb_hid_driver);
bool hid_is_usb(const struct hid_device *hdev) bool hid_is_usb(const struct hid_device *hdev)
{ {
......
...@@ -858,7 +858,6 @@ struct hid_ll_driver { ...@@ -858,7 +858,6 @@ struct hid_ll_driver {
extern struct hid_ll_driver i2c_hid_ll_driver; extern struct hid_ll_driver i2c_hid_ll_driver;
extern struct hid_ll_driver hidp_hid_driver; extern struct hid_ll_driver hidp_hid_driver;
extern struct hid_ll_driver uhid_hid_driver; extern struct hid_ll_driver uhid_hid_driver;
extern struct hid_ll_driver usb_hid_driver;
extern bool hid_is_usb(const struct hid_device *hdev); extern bool hid_is_usb(const struct hid_device *hdev);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment