hid-generic.c 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. /*
  2. * HID support for Linux
  3. *
  4. * Copyright (c) 1999 Andreas Gal
  5. * Copyright (c) 2000-2005 Vojtech Pavlik <vojtech@suse.cz>
  6. * Copyright (c) 2005 Michael Haboustak <mike-@cinci.rr.com> for Concept2, Inc
  7. * Copyright (c) 2007-2008 Oliver Neukum
  8. * Copyright (c) 2006-2012 Jiri Kosina
  9. * Copyright (c) 2012 Henrik Rydberg
  10. */
  11. /*
  12. * This program is free software; you can redistribute it and/or modify it
  13. * under the terms of the GNU General Public License as published by the Free
  14. * Software Foundation; either version 2 of the License, or (at your option)
  15. * any later version.
  16. */
  17. #include <linux/module.h>
  18. #include <linux/slab.h>
  19. #include <linux/kernel.h>
  20. #include <asm/unaligned.h>
  21. #include <asm/byteorder.h>
  22. #include <linux/hid.h>
  23. static const struct hid_device_id hid_table[] = {
  24. { HID_DEVICE(HID_BUS_ANY, HID_GROUP_GENERIC, HID_ANY_ID, HID_ANY_ID) },
  25. { }
  26. };
  27. MODULE_DEVICE_TABLE(hid, hid_table);
  28. static struct hid_driver hid_generic = {
  29. .name = "hid-generic",
  30. .id_table = hid_table,
  31. };
  32. module_hid_driver(hid_generic);
  33. MODULE_AUTHOR("Henrik Rydberg");
  34. MODULE_DESCRIPTION("HID generic driver");
  35. MODULE_LICENSE("GPL");