summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorFrank Seidel <fseidel@suse.de>2007-12-07 12:20:42 (GMT)
committerLen Brown <len.brown@intel.com>2007-12-08 06:51:38 (GMT)
commita340af14b4c08a53c5f7d821d8bd910e17403384 (patch)
tree41eeb0f2b12f4e386e5e9271c1c84b0f453ec9a9 /drivers
parent3620f2f2f39e7870cf1a4fb2e34063a142f28716 (diff)
downloadlinux-a340af14b4c08a53c5f7d821d8bd910e17403384.tar.xz
ACPI: Add autoload info to dock driver
References: https://bugzilla.novell.com/show_bug.cgi?id=302482 Signed-off-by: Thomas Renninger <trenn@novell.com> Signed-off-by: Kay Sievers <kasievers@novell.com> Signed-off-by: Frank Seidel <fseidel@suse.de> Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/acpi/dock.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/acpi/dock.c b/drivers/acpi/dock.c
index 1dabdf4..b3dec21 100644
--- a/drivers/acpi/dock.c
+++ b/drivers/acpi/dock.c
@@ -51,6 +51,12 @@ static struct atomic_notifier_head dock_notifier_list;
static struct platform_device *dock_device;
static char dock_device_name[] = "dock";
+static const struct acpi_device_id dock_device_ids[] = {
+ {"LNXDOCK", 0},
+ {"", 0},
+};
+MODULE_DEVICE_TABLE(acpi, dock_device_ids);
+
struct dock_station {
acpi_handle handle;
unsigned long last_dock_time;