aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/hid/hid-dummy.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/hid/hid-dummy.c')
-rw-r--r--drivers/hid/hid-dummy.c18
1 files changed, 18 insertions, 0 deletions
diff --git a/drivers/hid/hid-dummy.c b/drivers/hid/hid-dummy.c
new file mode 100644
index 000000000000..b76c44efe1b8
--- /dev/null
+++ b/drivers/hid/hid-dummy.c
@@ -0,0 +1,18 @@
1#include <linux/autoconf.h>
2#include <linux/module.h>
3#include <linux/hid.h>
4
5static int __init hid_dummy_init(void)
6{
7#ifdef CONFIG_HID_APPLE_MODULE
8 HID_COMPAT_CALL_DRIVER(apple);
9#endif
10#ifdef CONFIG_HID_LOGITECH_MODULE
11 HID_COMPAT_CALL_DRIVER(logitech);
12#endif
13
14 return -EIO;
15}
16module_init(hid_dummy_init);
17
18MODULE_LICENSE("GPL");