mirror of
https://github.com/lkl/linux.git
synced 2025-12-19 16:13:19 +09:00
HID: Unexport struct i2c_hid_ll_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>
This commit is contained in:
committed by
Jiri Kosina
parent
9e3c2efcae
commit
ebb45d6bee
@@ -842,7 +842,7 @@ static void i2c_hid_close(struct hid_device *hid)
|
|||||||
clear_bit(I2C_HID_STARTED, &ihid->flags);
|
clear_bit(I2C_HID_STARTED, &ihid->flags);
|
||||||
}
|
}
|
||||||
|
|
||||||
struct hid_ll_driver i2c_hid_ll_driver = {
|
static struct hid_ll_driver i2c_hid_ll_driver = {
|
||||||
.parse = i2c_hid_parse,
|
.parse = i2c_hid_parse,
|
||||||
.start = i2c_hid_start,
|
.start = i2c_hid_start,
|
||||||
.stop = i2c_hid_stop,
|
.stop = i2c_hid_stop,
|
||||||
@@ -851,7 +851,6 @@ struct hid_ll_driver i2c_hid_ll_driver = {
|
|||||||
.output_report = i2c_hid_output_report,
|
.output_report = i2c_hid_output_report,
|
||||||
.raw_request = i2c_hid_raw_request,
|
.raw_request = i2c_hid_raw_request,
|
||||||
};
|
};
|
||||||
EXPORT_SYMBOL_GPL(i2c_hid_ll_driver);
|
|
||||||
|
|
||||||
static int i2c_hid_init_irq(struct i2c_client *client)
|
static int i2c_hid_init_irq(struct i2c_client *client)
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -855,8 +855,6 @@ struct hid_ll_driver {
|
|||||||
bool (*may_wakeup)(struct hid_device *hdev);
|
bool (*may_wakeup)(struct hid_device *hdev);
|
||||||
};
|
};
|
||||||
|
|
||||||
extern struct hid_ll_driver i2c_hid_ll_driver;
|
|
||||||
|
|
||||||
extern bool hid_is_usb(const struct hid_device *hdev);
|
extern bool hid_is_usb(const struct hid_device *hdev);
|
||||||
|
|
||||||
#define PM_HINT_FULLON 1<<5
|
#define PM_HINT_FULLON 1<<5
|
||||||
|
|||||||
Reference in New Issue
Block a user