HID: add multi-input quirk for NextWindow Touchscreen.
[safe/jmp/linux-2.6] / drivers / hid / hid-a4tech.c
index 26e1608..df474c6 100644 (file)
@@ -107,7 +107,7 @@ static int a4_probe(struct hid_device *hdev, const struct hid_device_id *id)
                goto err_free;
        }
 
-       ret = hid_hw_start(hdev);
+       ret = hid_hw_start(hdev, HID_CONNECT_DEFAULT);
        if (ret) {
                dev_err(&hdev->dev, "hw start failed\n");
                goto err_free;
@@ -145,12 +145,12 @@ static struct hid_driver a4_driver = {
        .remove = a4_remove,
 };
 
-static int a4_init(void)
+static int __init a4_init(void)
 {
        return hid_register_driver(&a4_driver);
 }
 
-static void a4_exit(void)
+static void __exit a4_exit(void)
 {
        hid_unregister_driver(&a4_driver);
 }
@@ -158,5 +158,3 @@ static void a4_exit(void)
 module_init(a4_init);
 module_exit(a4_exit);
 MODULE_LICENSE("GPL");
-
-HID_COMPAT_LOAD_DRIVER(a4tech);