From: Stefan Lippers-Hollmann Date: Tue, 13 Aug 2013 05:45:58 +0000 (-0700) Subject: Input: wistron_btns - add MODULE_DEVICE_TABLE X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=ac67be927b21c6928f4870c34f57b7fe6f3ad2fc;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git 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 Signed-off-by: Dmitry Torokhov --- diff --git a/drivers/input/misc/wistron_btns.c b/drivers/input/misc/wistron_btns.c index bef5b47cfe74..b6505454bcc4 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)