Commit ac67be92 authored by Stefan Lippers-Hollmann's avatar Stefan Lippers-Hollmann Committed by Dmitry Torokhov

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: default avatarStefan Lippers-Hollmann <s.l-h@gmx.de>
Signed-off-by: default avatarDmitry Torokhov <dmitry.torokhov@gmail.com>
parent 53e88754
...@@ -971,6 +971,7 @@ static const struct dmi_system_id dmi_ids[] __initconst = { ...@@ -971,6 +971,7 @@ static const struct dmi_system_id dmi_ids[] __initconst = {
}, },
{ NULL, } { NULL, }
}; };
MODULE_DEVICE_TABLE(dmi, dmi_ids);
/* Copy the good keymap, as the original ones are free'd */ /* Copy the good keymap, as the original ones are free'd */
static int __init copy_keymap(void) static int __init copy_keymap(void)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment