HID: make hid_input_field and usbhid_modify_dquirk static
This patch makes the following needlessly global functions static: - hid-core.c:hid_input_field() - usbhid/hid-quirks.c:usbhid_modify_dquirk() Signed-off-by: Adrian Bunk <bunk@kernel.org> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
This commit is contained in:
@@ -830,7 +830,8 @@ static void hid_process_event(struct hid_device *hid, struct hid_field *field, s
|
||||
* reporting to the layer).
|
||||
*/
|
||||
|
||||
void hid_input_field(struct hid_device *hid, struct hid_field *field, __u8 *data, int interrupt)
|
||||
static void hid_input_field(struct hid_device *hid, struct hid_field *field,
|
||||
__u8 *data, int interrupt)
|
||||
{
|
||||
unsigned n;
|
||||
unsigned count = field->report_count;
|
||||
@@ -876,7 +877,6 @@ void hid_input_field(struct hid_device *hid, struct hid_field *field, __u8 *data
|
||||
exit:
|
||||
kfree(value);
|
||||
}
|
||||
EXPORT_SYMBOL_GPL(hid_input_field);
|
||||
|
||||
/*
|
||||
* Output the field into the report.
|
||||
|
Reference in New Issue
Block a user