Commit c542aade authored by Harald Welte's avatar Harald Welte Committed by Len Brown

panasonic-laptop: Fix autoloading

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.
Signed-off-by: default avatarMartin Lucina <mato@kotelna.sk>
Signed-off-by: default avatarHarald Welte <laforge@gnumonks.org>
Signed-off-by: default avatarLen Brown <len.brown@intel.com>
parent 609d4bc9
...@@ -184,6 +184,7 @@ static const struct acpi_device_id pcc_device_ids[] = { ...@@ -184,6 +184,7 @@ static const struct acpi_device_id pcc_device_ids[] = {
{ "MAT0019", 0}, { "MAT0019", 0},
{ "", 0}, { "", 0},
}; };
MODULE_DEVICE_TABLE(acpi, pcc_device_ids);
static struct acpi_driver acpi_pcc_driver = { static struct acpi_driver acpi_pcc_driver = {
.name = ACPI_PCC_DRIVER_NAME, .name = ACPI_PCC_DRIVER_NAME,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment