summaryrefslogtreecommitdiffstats
path: root/drivers/platform
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2009-01-14 13:59:50 +0800
committerLen Brown <len.brown@intel.com>2009-04-03 23:42:33 -0400
commitc542aadeb4700bc316834d862d52ba3d2664f13a (patch)
tree6efbb93b7d27e92d7169a7ae0a9dcad589af68b4 /drivers/platform
parent609d4bc949a9175a6c8ba9dc1b6fdb4d9dab0427 (diff)
downloadlinux-c542aadeb4700bc316834d862d52ba3d2664f13a.tar.gz
linux-c542aadeb4700bc316834d862d52ba3d2664f13a.tar.bz2
linux-c542aadeb4700bc316834d862d52ba3d2664f13a.zip
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: Martin Lucina <mato@kotelna.sk> Signed-off-by: Harald Welte <laforge@gnumonks.org> Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'drivers/platform')
-rw-r--r--drivers/platform/x86/panasonic-laptop.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/platform/x86/panasonic-laptop.c b/drivers/platform/x86/panasonic-laptop.c
index c47a44dcb702..ecaca412a2a1 100644
--- a/drivers/platform/x86/panasonic-laptop.c
+++ b/drivers/platform/x86/panasonic-laptop.c
@@ -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,