lkml.org 
[lkml]   [2012]   [Jul]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
Subject[PATCH] Add MODULE_ALIAS for autoloading ipmi driver on ACPI systems
From
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>
---
drivers/char/ipmi/ipmi_si_intf.c | 2 ++
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 83f85cf..afe3b95 100644
--- a/drivers/char/ipmi/ipmi_si_intf.c
+++ b/drivers/char/ipmi/ipmi_si_intf.c
@@ -2246,6 +2246,8 @@ static struct pnp_driver ipmi_pnp_driver = {
.remove = __devexit_p(ipmi_pnp_remove),
.id_table = pnp_dev_table,
};
+
+MODULE_DEVICE_TABLE(pnp, pnp_dev_table);
#endif

#ifdef CONFIG_DMI
--
1.7.5.4

\
 
 \ /
  Last update: 2012-07-26 17:41    [W:0.023 / U:13.564 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site