OSDN Git Service

Input: wistron_btns - add MODULE_DEVICE_TABLE
authorStefan Lippers-Hollmann <s.L-H@gmx.de>
Tue, 13 Aug 2013 05:45:58 +0000 (22:45 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Tue, 13 Aug 2013 16:52:17 +0000 (09:52 -0700)
This allows the wistron_btns module to be autoloaded on boot, its functionality
is required to support the hardware rfkill switches on most of the supported
notebooks, in order to unblock the hard blocked rfkill state for wireless and
bluetooth devices.

Tested on a Medion MD96500:
alias:          dmi*:svn*MEDIONPC*:pn*WIM2040*:

Signed-off-by: Stefan Lippers-Hollmann <s.l-h@gmx.de>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/misc/wistron_btns.c

index bef5b47..b650545 100644 (file)
@@ -971,6 +971,7 @@ static const struct dmi_system_id dmi_ids[] __initconst = {
        },
        { NULL, }
 };
+MODULE_DEVICE_TABLE(dmi, dmi_ids);
 
 /* Copy the good keymap, as the original ones are free'd */
 static int __init copy_keymap(void)