From: Jordan_Hargrave@Dell.com Date: Thu, 5 Sep 2013 11:36:35 +0000 (-0500) Subject: Add MODULE_ALIAS for autoloading ipmi driver on ACPI systems X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=a798e2d2d7374ba1e35e2244506f56c8363902cf;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git Add MODULE_ALIAS for autoloading ipmi driver on ACPI systems I'd submitted this about a year ago but it never made it upstream. The latest versions of the kernel drivers for ipmi can use ACPI to determine the type of BMC device used in the system. The following patch adds a module alias so that udev will autoload the ipmi_si driver. Signed-off-by: Jordan Hargrave Signed-off-by: Corey Minyard Signed-off-by: Linus Torvalds --- diff --git a/drivers/char/ipmi/ipmi_si_intf.c b/drivers/char/ipmi/ipmi_si_intf.c index af4b23ffc5a6..810372c0a22f 100644 --- a/drivers/char/ipmi/ipmi_si_intf.c +++ b/drivers/char/ipmi/ipmi_si_intf.c @@ -2279,6 +2279,8 @@ static struct pnp_driver ipmi_pnp_driver = { .remove = ipmi_pnp_remove, .id_table = pnp_dev_table, }; + +MODULE_DEVICE_TABLE(pnp, pnp_dev_table); #endif #ifdef CONFIG_DMI