diff options
author | Pali Rohár <pali.rohar@gmail.com> | 2014-10-17 22:17:49 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-11-07 17:58:28 (GMT) |
commit | 148b1fda69a816cae613f7a74b1423d65fa1621f (patch) | |
tree | 6d2f3b2266d9e1533075a60a2d600e3a74d59fe5 /drivers | |
parent | 0f352239de1628d38ff35adb91842a732f4453cd (diff) | |
download | linux-148b1fda69a816cae613f7a74b1423d65fa1621f.tar.xz |
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')
-rw-r--r-- | drivers/char/i8k.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/char/i8k.c b/drivers/char/i8k.c index 471f985..7272b08 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. */ |