diff mbox

Temporarily add modalias for Dell DMI match on dell-wmi

Message ID 49F781C1.4080001@dell.com (mailing list archive)
State RFC, archived
Headers show

Commit Message

Mario Limonciello April 28, 2009, 10:22 p.m. UTC
Hi:

Until the sysfs interface is ready, there is no way to automatically
load dell-wmi.  The equivalent module for Acer laptops, acer-wmi has a
workaround in place to match on the DMI tables for the machine.  This
type of solution works on for Dell as well and gets the module loading
when necessary.

Patch is attached to prevent Exchange messing up line breaks.

Regards
diff mbox

Patch

--- a/drivers/platform/x86/dell-wmi.c~	2009-04-28 17:12:01.000000000 -0500
+++ b/drivers/platform/x86/dell-wmi.c	2009-04-28 17:12:43.000000000 -0500
@@ -40,6 +40,10 @@ 
 
 MODULE_ALIAS("wmi:"DELL_EVENT_GUID);
 
+/* Temporary workaround until the WMI sysfs interface goes in.
+   Borrowed from acer-wmi */
+MODULE_ALIAS("dmi:*:*Dell*:*:");
+
 struct key_entry {
 	char type;		/* See KE_* below */
 	u16 code;