HID: add hid_type to general hid struct
authorJiri Slaby <jirislaby@gmail.com>
Wed, 22 Oct 2008 12:45:11 +0000 (14:45 +0200)
committerJiri Kosina <jkosina@suse.cz>
Wed, 22 Oct 2008 12:45:11 +0000 (14:45 +0200)
commita73a63701f8f23e70674b3c5e367a0a726c18468
tree7ea08c39cdef5c53986898b3ea66a8f531725447
parentac2d98998c32fcdc8d8919b7a4536a7945fd0422
HID: add hid_type to general hid struct

Add type to the hid structure to distinguish to which device type
(now only mouse) we are talking to. Needed for per device type ignore
list support.

Note: this patch leaves the type as unknown for bluetooth devices,
there is not support for this in the hidp code.

Signed-off-by: Jiri Slaby <jirislaby@gmail.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/hid/usbhid/hid-core.c
include/linux/hid.h