Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 148b1fda authored by Pali Rohár's avatar Pali Rohár Committed by Greg Kroah-Hartman
Browse files

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: default avatarPali Rohár <pali.rohar@gmail.com>
Acked-by: default avatarGuenter Roeck <linux@roeck-us.net>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 0f352239
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -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.
 */