]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[PATCH] Generic HID layer - USB API
authorJiri Kosina <jkosina@suse.cz>
Fri, 8 Dec 2006 17:41:03 +0000 (18:41 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 8 Dec 2006 18:43:14 +0000 (10:43 -0800)
commit4916b3a57fc94664677d439b911b8aaf86c7ec23
treefc8038ec52950ddfdb1c6c66f90eb1c381e446ca
parent229695e51efc4ed5e04ab471c82591d0f432909d
[PATCH] Generic HID layer - USB API

- 'dev' in struct hid_device changed from struct usb_device to
  struct device and fixed all the users
- renamed functions which are part of USB HID API from 'hid_*' to
  'usbhid_*'
- force feedback initialization moved from common part into USB-specific
  driver
- added usbhid.h header for USB HID API users
- removed USB-specific fields from struct hid_device and moved them
  to new usbhid_device, which is pointed to by hid_device->driver_data
- fixed all USB users to use this new structure

Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Cc: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/hid/hid-input.c
drivers/usb/input/hid-core.c
drivers/usb/input/hid-ff.c
drivers/usb/input/hid-lgff.c
drivers/usb/input/hid-pidff.c
drivers/usb/input/hid-tmff.c
drivers/usb/input/hid-zpff.c
drivers/usb/input/hiddev.c
drivers/usb/input/usbhid.h [new file with mode: 0644]
include/linux/hid.h