Add autoload info to dock driver
Subsystems (2)
PATCH 2/3 Add autoload info to dock driver
From: Frank Seidel <[email protected]>
Add autoload info to dock driver
References: https://bugzilla.novell.com/show_bug.cgi?id=302482
Signed-off-by Thomas Renninger <[email protected]>
Signed-off-by Kay Sievers <[email protected]>
Signed-off-by Frank Seidel <[email protected]>
--- drivers/acpi/dock.c | 6 ++++++ include/acpi/acpi_drivers.h | 1 + 2 files changed, 7 insertions(+)
drivers/acpi/dock.c +6 -0
@@ -51,6 +51,12 @@ static struct atomic_notifier_head dock_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;
include/acpi/acpi_drivers.h +1 -0
@@ -48,6 +48,7 @@#define ACPI_BUTTON_HID_SLEEPF "LNXSLPBN"#define ACPI_VIDEO_HID "LNXVIDEO"#define ACPI_BAY_HID "LNXIOBAY" +#define ACPI_DOCK_HID "LNXDOCK"/* -------------------------------------------------------------------------- PCI