hid: Re: #2 (Re: More modaliases + patchtool))

Dzianis Kahanovich
2010-09-17T13:35:50Z

[-- Attachment #1: Type: text/plain, Size: 4 bytes --]

...

[-- Attachment #2: mods-hid.patch --]
[-- Type: text/plain, Size: 770 bytes --]

Fix lost HID modaliases

Signed-off-by: Dzianis Kahanovich <mahatma@eu.by>

--- linux-2.6.36-rc4-git3/drivers/hid/hid-core.c 2010-09-17 12:30:32.000000000 +0300
+++ b/drivers/hid/hid-core.c 2010-09-17 12:38:45.972722957 +0300
@@ -1960,6 +1960,9 @@ static void __exit hid_exit(void)
bus_unregister(&hid_bus_type);
}

+
+MODULE_DEVICE_TABLE(hid, hid_hiddev_list);
+
module_init(hid_init);
module_exit(hid_exit);

--- linux-2.6.36-rc4-git3/net/bluetooth/hidp/core.c 2010-08-02 01:11:14.000000000 +0300
+++ b/net/bluetooth/hidp/core.c 2010-09-17 12:39:07.372942338 +0300
@@ -1045,6 +1045,9 @@ static void __exit hidp_exit(void)
hid_unregister_driver(&hidp_driver);
}

+
+MODULE_DEVICE_TABLE(hid, hidp_table);
+
module_init(hidp_init);
module_exit(hidp_exit);