diff options
Diffstat (limited to 'drivers/acpi/ec.c')
-rw-r--r-- | drivers/acpi/ec.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/drivers/acpi/ec.c b/drivers/acpi/ec.c index 10e851021eca..469f3f57f881 100644 --- a/drivers/acpi/ec.c +++ b/drivers/acpi/ec.c | |||
@@ -41,7 +41,6 @@ | |||
41 | #include <acpi/actypes.h> | 41 | #include <acpi/actypes.h> |
42 | 42 | ||
43 | #define ACPI_EC_CLASS "embedded_controller" | 43 | #define ACPI_EC_CLASS "embedded_controller" |
44 | #define ACPI_EC_HID "PNP0C09" | ||
45 | #define ACPI_EC_DEVICE_NAME "Embedded Controller" | 44 | #define ACPI_EC_DEVICE_NAME "Embedded Controller" |
46 | #define ACPI_EC_FILE_INFO "info" | 45 | #define ACPI_EC_FILE_INFO "info" |
47 | 46 | ||
@@ -82,10 +81,15 @@ static int acpi_ec_start(struct acpi_device *device); | |||
82 | static int acpi_ec_stop(struct acpi_device *device, int type); | 81 | static int acpi_ec_stop(struct acpi_device *device, int type); |
83 | static int acpi_ec_add(struct acpi_device *device); | 82 | static int acpi_ec_add(struct acpi_device *device); |
84 | 83 | ||
84 | static const struct acpi_device_id ec_device_ids[] = { | ||
85 | {"PNP0C09", 0}, | ||
86 | {"", 0}, | ||
87 | }; | ||
88 | |||
85 | static struct acpi_driver acpi_ec_driver = { | 89 | static struct acpi_driver acpi_ec_driver = { |
86 | .name = "ec", | 90 | .name = "ec", |
87 | .class = ACPI_EC_CLASS, | 91 | .class = ACPI_EC_CLASS, |
88 | .ids = ACPI_EC_HID, | 92 | .ids = ec_device_ids, |
89 | .ops = { | 93 | .ops = { |
90 | .add = acpi_ec_add, | 94 | .add = acpi_ec_add, |
91 | .remove = acpi_ec_remove, | 95 | .remove = acpi_ec_remove, |