diff options
author | Stefan Lippers-Hollmann <s.L-H@gmx.de> | 2013-08-12 22:45:58 -0700 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2013-08-13 09:52:17 -0700 |
commit | ac67be927b21c6928f4870c34f57b7fe6f3ad2fc (patch) | |
tree | bc3e356b11f65e7a73b794d50aa1fc91b235d6c4 /drivers/input/misc/wistron_btns.c | |
parent | 53e88754a28c15ac9feb9ca786174c9546098dcd (diff) | |
download | op-kernel-dev-ac67be927b21c6928f4870c34f57b7fe6f3ad2fc.zip op-kernel-dev-ac67be927b21c6928f4870c34f57b7fe6f3ad2fc.tar.gz |
Input: wistron_btns - add MODULE_DEVICE_TABLE
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>
Diffstat (limited to 'drivers/input/misc/wistron_btns.c')
-rw-r--r-- | drivers/input/misc/wistron_btns.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/input/misc/wistron_btns.c b/drivers/input/misc/wistron_btns.c index bef5b47..b650545 100644 --- a/drivers/input/misc/wistron_btns.c +++ b/drivers/input/misc/wistron_btns.c @@ -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) |