[<prev] [next>] [day] [month] [year] [list]
Message-ID: <CAC1Azdenr8rXqw=Vfq4Jfoj8qDN1HmDoDehYC5Ec_3-8cvSKJQ@mail.gmail.com>
Date: Thu, 26 Jul 2012 09:50:40 -0500
From: jordan hargrave <jharg93@...il.com>
To: linux-kernel@...r.kernel.org
Subject: Add MODULE_ALIAS to autoload ipmi drivers on ACPI systems
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.
--- drivers/char/ipmi/ipmi_si_intf.c.orig 2012-07-26 09:18:58.000000000 -0500
+++ drivers/char/ipmi/ipmi_si_intf.c 2012-07-26 09:29:37.000000000 -0500
@@ -2267,6 +2267,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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists