Skip to contentSkip to conversation

Fix autoloading of panasonic-laptop

PATCH Applied Harald Welte 2 participants 2 messages Jan 14, 2009 – Apr 4, 2009

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Fix autoloading of panasonic-laptop

This patch adds MODULE_DEVICE_TABLE() to panasonic-laptop.c in order to ensure automatic loading of the module on systems with the respective "MAT*" ACPI devices.

---
 drivers/platform/x86/panasonic-laptop.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
drivers/platform/x86/panasonic-laptop.c +1 -0
index f30db36..54aa8c9 100644
@@ -184,6 +184,7 @@ static const struct acpi_device_id pcc_device_ids[] = {
 	{ "MAT0019", 0},
 	{ "", 0},
 };
+MODULE_DEVICE_TABLE(acpi, pcc_device_ids);
 
 static struct acpi_driver acpi_pcc_driver = {
 	.name =		ACPI_PCC_DRIVER_NAME,
Signature · 1 line
1.5.6.5
reviewer Applied
#1 lore raw

applied

thanks,
Len Brown, Intel Open Source Technology Center