hid-dummy.c 921 B

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. #include <linux/autoconf.h>
  2. #include <linux/module.h>
  3. #include <linux/hid.h>
  4. static int __init hid_dummy_init(void)
  5. {
  6. #ifdef CONFIG_HID_A4TECH_MODULE
  7. HID_COMPAT_CALL_DRIVER(a4tech);
  8. #endif
  9. #ifdef CONFIG_HID_APPLE_MODULE
  10. HID_COMPAT_CALL_DRIVER(apple);
  11. #endif
  12. #ifdef CONFIG_HID_BELKIN_MODULE
  13. HID_COMPAT_CALL_DRIVER(belkin);
  14. #endif
  15. #ifdef CONFIG_HID_CHERRY_MODULE
  16. HID_COMPAT_CALL_DRIVER(cherry);
  17. #endif
  18. #ifdef CONFIG_HID_CHICONY_MODULE
  19. HID_COMPAT_CALL_DRIVER(chicony);
  20. #endif
  21. #ifdef CONFIG_HID_CYPRESS_MODULE
  22. HID_COMPAT_CALL_DRIVER(cypress);
  23. #endif
  24. #ifdef CONFIG_HID_EZKEY_MODULE
  25. HID_COMPAT_CALL_DRIVER(ezkey);
  26. #endif
  27. #ifdef CONFIG_HID_LOGITECH_MODULE
  28. HID_COMPAT_CALL_DRIVER(logitech);
  29. #endif
  30. #ifdef CONFIG_HID_MICROSOFT_MODULE
  31. HID_COMPAT_CALL_DRIVER(microsoft);
  32. #endif
  33. #ifdef CONFIG_HID_SUNPLUS_MODULE
  34. HID_COMPAT_CALL_DRIVER(sunplus);
  35. #endif
  36. return -EIO;
  37. }
  38. module_init(hid_dummy_init);
  39. MODULE_LICENSE("GPL");