aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/char
diff options
context:
space:
mode:
authorJordan_Hargrave@Dell.com <Jordan_Hargrave@Dell.com>2013-09-05 07:36:35 -0400
committerLinus Torvalds <torvalds@linux-foundation.org>2013-09-05 11:34:32 -0400
commita798e2d2d7374ba1e35e2244506f56c8363902cf (patch)
tree23d8995353bc1793a5cd73926bf2dbc649ae812f /drivers/char
parentf0ba93907b5a7c3c87b6baae1260a254ecfd6f98 (diff)
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 <jordan_hargrave@dell.com> Signed-off-by: Corey Minyard <cminyard@mvista.com> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/char')
-rw-r--r--drivers/char/ipmi/ipmi_si_intf.c2
1 files changed, 2 insertions, 0 deletions
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 = {
2279 .remove = ipmi_pnp_remove, 2279 .remove = ipmi_pnp_remove,
2280 .id_table = pnp_dev_table, 2280 .id_table = pnp_dev_table,
2281}; 2281};
2282
2283MODULE_DEVICE_TABLE(pnp, pnp_dev_table);
2282#endif 2284#endif
2283 2285
2284#ifdef CONFIG_DMI 2286#ifdef CONFIG_DMI