summaryrefslogtreecommitdiffstats
path: root/drivers/char/i8k.c
diff options
context:
space:
mode:
authorPali Rohár <pali.rohar@gmail.com>2014-10-18 00:17:49 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-11-07 09:58:28 -0800
commit148b1fda69a816cae613f7a74b1423d65fa1621f (patch)
tree6d2f3b2266d9e1533075a60a2d600e3a74d59fe5 /drivers/char/i8k.c
parent0f352239de1628d38ff35adb91842a732f4453cd (diff)
i8k: Add MODULE_DEVICE_TABLE macro
This patch adds MODULE_DEVICE_TABLE macro so i8k.ko module can be automatically loaded based on dmi system alias. Signed-off-by: Pali Rohár <pali.rohar@gmail.com> Acked-by: Guenter Roeck <linux@roeck-us.net> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/char/i8k.c')
-rw-r--r--drivers/char/i8k.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/char/i8k.c b/drivers/char/i8k.c
index 471f985e38d..7272b08dbd6 100644
--- a/drivers/char/i8k.c
+++ b/drivers/char/i8k.c
@@ -796,6 +796,8 @@ static struct dmi_system_id i8k_dmi_table[] __initdata = {
{ }
};
+MODULE_DEVICE_TABLE(dmi, i8k_dmi_table);
+
/*
* Probe for the presence of a supported laptop.
*/