提交 c542aade 编写于 作者: H Harald Welte 提交者: 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: NMartin Lucina <mato@kotelna.sk>
Signed-off-by: NHarald Welte <laforge@gnumonks.org>
Signed-off-by: NLen Brown <len.brown@intel.com>
上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册