acpi: Re: #2 (Re: More modaliases + patchtool))

Dzianis Kahanovich
2010-09-17T13:37:32Z

[-- Attachment #1: Type: text/plain, Size: 7 bytes --]

...

[-- Attachment #2: mods-acpi.patch --]
[-- Type: text/plain, Size: 1159 bytes --]

--- linux-2.6.36-rc4-git3/drivers/platform/x86/intel_menlow.c 2010-09-17 12:30:30.000000000 +0300
+++ b/drivers/platform/x86/intel_menlow.c 2010-09-17 12:38:56.376753809 +0300
@@ -536,5 +536,8 @@ static void __exit intel_menlow_module_e
intel_menlow_unregister_sensor();
}

+
+MODULE_DEVICE_TABLE(acpi, intel_menlow_memory_ids);
+
module_init(intel_menlow_module_init);
module_exit(intel_menlow_module_exit);
--- linux-2.6.36-rc4-git3/drivers/staging/quickstart/quickstart.c 2010-09-17 12:30:31.000000000 +0300
+++ b/drivers/staging/quickstart/quickstart.c 2010-09-17 12:39:02.903030634 +0300
@@ -470,5 +470,8 @@ fail_pfdrv_reg:
return ret;
}

+
+MODULE_DEVICE_TABLE(acpi, quickstart_device_ids);
+
module_init(quickstart_init);
module_exit(quickstart_exit);
--- linux-2.6.36-rc4-git3/drivers/char/sonypi.c 2010-08-02 01:11:14.000000000 +0300
+++ b/drivers/char/sonypi.c 2010-09-17 12:38:43.182861196 +0300
@@ -1565,5 +1565,10 @@ static void __exit sonypi_exit(void)
printk(KERN_INFO "sonypi: removed.\n");
}

+
+#ifdef CONFIG_ACPI
+MODULE_DEVICE_TABLE(acpi, sonypi_device_ids);
+#endif
+
module_init(sonypi_init);
module_exit(sonypi_exit);