diff options
author | Adrian Bunk <bunk@kernel.org> | 2008-03-31 01:53:56 +0200 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2008-04-22 11:34:58 +0200 |
commit | abdff0f7749a6696ba2a4238b675cbc55abcdb7a (patch) | |
tree | 6bb90322f9d47a273f8619d8fce9505d31e299c9 /drivers/hid/hid-core.c | |
parent | b54ec3c13cf77d21bab25d8bb117f642561fdf4f (diff) | |
download | kernel_samsung_smdk4412-abdff0f7749a6696ba2a4238b675cbc55abcdb7a.zip kernel_samsung_smdk4412-abdff0f7749a6696ba2a4238b675cbc55abcdb7a.tar.gz kernel_samsung_smdk4412-abdff0f7749a6696ba2a4238b675cbc55abcdb7a.tar.bz2 |
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>
Diffstat (limited to 'drivers/hid/hid-core.c')
-rw-r--r-- | drivers/hid/hid-core.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/hid/hid-core.c b/drivers/hid/hid-core.c index 10f925b..e03c67d 100644 --- a/drivers/hid/hid-core.c +++ b/drivers/hid/hid-core.c @@ -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. |