HID: local function should be static

__usbhid_submit_report() is a local function wrapped by the exported
symbol usbhid_submit_report(). As such, it should be static.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Cc:  Jiri Kosina <jkosina@suse.cz>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
This commit is contained in:
H Hartley Sweeten 2009-08-17 15:37:18 -07:00 коммит произвёл Jiri Kosina
Родитель 4cfae3e804
Коммит 52cfc61bf9
1 изменённых файлов: 2 добавлений и 1 удалений

Просмотреть файл

@ -489,7 +489,8 @@ static void hid_ctrl(struct urb *urb)
wake_up(&usbhid->wait);
}
void __usbhid_submit_report(struct hid_device *hid, struct hid_report *report, unsigned char dir)
static void __usbhid_submit_report(struct hid_device *hid, struct hid_report *report,
unsigned char dir)
{
int head;
struct usbhid_device *usbhid = hid->driver_data;