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@xxxxxxxxx>
---
drivers/char/i8k.c | 2 ++
1 file changed, 2 insertions(+)
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.
*/