aboutsummaryrefslogtreecommitdiff
path: root/net/bluetooth
diff options
context:
space:
mode:
authorGravatar Thomas Weißschuh <linux@weissschuh.net> 2022-12-22 05:10:49 +0000
committerGravatar Jiri Kosina <jkosina@suse.cz> 2023-01-17 13:44:01 +0100
commit9e3c2efcae8e5bb220b3ebfde5e27d40b96314c2 (patch)
tree8f9698fa66273228b26cd3cd18a6eec9c1ee0ded /net/bluetooth
parentHID: Unexport struct uhid_hid_driver (diff)
downloadlinux-9e3c2efcae8e5bb220b3ebfde5e27d40b96314c2.tar.gz
linux-9e3c2efcae8e5bb220b3ebfde5e27d40b96314c2.tar.bz2
linux-9e3c2efcae8e5bb220b3ebfde5e27d40b96314c2.zip
HID: Unexport struct hidp_hid_driver
As there are no external users this implementation detail does not need to be exported. 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 'net/bluetooth')
-rw-r--r--net/bluetooth/hidp/core.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/net/bluetooth/hidp/core.c b/net/bluetooth/hidp/core.c
index cc20e706c639..c4a741f6ed5c 100644
--- a/net/bluetooth/hidp/core.c
+++ b/net/bluetooth/hidp/core.c
@@ -739,7 +739,7 @@ static void hidp_stop(struct hid_device *hid)
hid->claimed = 0;
}
-struct hid_ll_driver hidp_hid_driver = {
+static struct hid_ll_driver hidp_hid_driver = {
.parse = hidp_parse,
.start = hidp_start,
.stop = hidp_stop,
@@ -748,7 +748,6 @@ struct hid_ll_driver hidp_hid_driver = {
.raw_request = hidp_raw_request,
.output_report = hidp_output_report,
};
-EXPORT_SYMBOL_GPL(hidp_hid_driver);
/* This function sets up the hid device. It does not add it
to the HID system. That is done in hidp_add_connection(). */