HID: avoid sparse warning in HID_COMPAT_LOAD_DRIVER
commit725cf0f47dbb02e0482f081828cff73f55479b79
authorHannes Eder <hannes@hanneseder.net>
Tue, 16 Dec 2008 13:20:23 +0000 (16 14:20 +0100)
committerJiri Kosina <jkosina@suse.cz>
Sun, 4 Jan 2009 00:00:53 +0000 (4 01:00 +0100)
tree077843d1f7c44f61cbacf5c2813280ef48e6dd1d
parent079034073faf974973baa0256b029451f6e768ad
HID: avoid sparse warning in HID_COMPAT_LOAD_DRIVER

Impact: include a prototype for the exported function in the macro

Fix about 20 of this warnings:

  drivers/hid/hid-a4tech.c:162:1: warning: symbol 'hid_compat_a4tech' was not declared. Should it be static?

Signed-off-by: Hannes Eder <hannes@hanneseder.net>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
include/linux/hid.h