panasonic-laptop: Fix autoloading
authorHarald Welte <laforge@gnumonks.org>
Wed, 14 Jan 2009 05:59:50 +0000 (13:59 +0800)
committerLen Brown <len.brown@intel.com>
Sat, 4 Apr 2009 03:42:33 +0000 (23:42 -0400)
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: Martin Lucina <mato@kotelna.sk>
Signed-off-by: Harald Welte <laforge@gnumonks.org>
Signed-off-by: Len Brown <len.brown@intel.com>
drivers/platform/x86/panasonic-laptop.c

index c47a44dcb702abf97f52ce86fec941a9f5a17318..ecaca412a2a1e96b82eb9caadbf2bb77bd29c07b 100644 (file)
@@ -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,