diff options
author | Thomas Weißschuh <linux@weissschuh.net> | 2022-12-22 05:10:47 +0000 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2023-01-17 13:44:01 +0100 |
commit | 6dbe965a922f60471c4363f45c9e5d398310b811 (patch) | |
tree | 71235611a26a41b6a749ae716db80ab2f61a8bd5 /drivers | |
parent | 1d9ca84ce034960707b62ce7d5ca75d04f8db91a (diff) | |
download | linux-stable-6dbe965a922f60471c4363f45c9e5d398310b811.tar.gz linux-stable-6dbe965a922f60471c4363f45c9e5d398310b811.tar.bz2 linux-stable-6dbe965a922f60471c4363f45c9e5d398310b811.zip |
HID: Unexport struct usb_hid_driver
As no external users remain this implementation detail does not need to
be exported anymore.
Signed-off-by: Thomas Weißschuh <linux@weissschuh.net>
Reviewed-by: David Rheinsberg <david.rheinsberg@gmail.com>
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/hid/usbhid/hid-core.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/hid/usbhid/hid-core.c b/drivers/hid/usbhid/hid-core.c index 54b0280d0073..4143bab3380a 100644 --- a/drivers/hid/usbhid/hid-core.c +++ b/drivers/hid/usbhid/hid-core.c @@ -1318,7 +1318,7 @@ static bool usbhid_may_wakeup(struct hid_device *hid) return device_may_wakeup(&dev->dev); } -struct hid_ll_driver usb_hid_driver = { +static struct hid_ll_driver usb_hid_driver = { .parse = usbhid_parse, .start = usbhid_start, .stop = usbhid_stop, @@ -1332,7 +1332,6 @@ struct hid_ll_driver usb_hid_driver = { .idle = usbhid_idle, .may_wakeup = usbhid_may_wakeup, }; -EXPORT_SYMBOL_GPL(usb_hid_driver); bool hid_is_usb(const struct hid_device *hdev) { |