aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/char/i8k.c
diff options
context:
space:
mode:
authorPali Rohár <pali.rohar@gmail.com>2014-10-17 18:17:49 -0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-11-07 12:58:28 -0500
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 471f985e38d2..7272b08dbd6c 100644
--- a/drivers/char/i8k.c
+++ b/drivers/char/i8k.c
@@ -796,6 +796,8 @@ static struct dmi_system_id i8k_dmi_table[] __initdata = {
796 { } 796 { }
797}; 797};
798 798
799MODULE_DEVICE_TABLE(dmi, i8k_dmi_table);
800
799/* 801/*
800 * Probe for the presence of a supported laptop. 802 * Probe for the presence of a supported laptop.
801 */ 803 */