diff options
Diffstat (limited to 'drivers/input/misc/atlas_btns.c')
-rw-r--r-- | drivers/input/misc/atlas_btns.c | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/drivers/input/misc/atlas_btns.c b/drivers/input/misc/atlas_btns.c index 0acc3a123604..e43e92fd9e23 100644 --- a/drivers/input/misc/atlas_btns.c +++ b/drivers/input/misc/atlas_btns.c | |||
@@ -31,7 +31,6 @@ | |||
31 | 31 | ||
32 | #define ACPI_ATLAS_NAME "Atlas ACPI" | 32 | #define ACPI_ATLAS_NAME "Atlas ACPI" |
33 | #define ACPI_ATLAS_CLASS "Atlas" | 33 | #define ACPI_ATLAS_CLASS "Atlas" |
34 | #define ACPI_ATLAS_BUTTON_HID "ASIM0000" | ||
35 | 34 | ||
36 | static struct input_dev *input_dev; | 35 | static struct input_dev *input_dev; |
37 | 36 | ||
@@ -130,10 +129,16 @@ static int atlas_acpi_button_remove(struct acpi_device *device, int type) | |||
130 | return status; | 129 | return status; |
131 | } | 130 | } |
132 | 131 | ||
132 | static const struct acpi_device_id atlas_device_ids[] = { | ||
133 | {"ASIM0000", 0}, | ||
134 | {"", 0}, | ||
135 | }; | ||
136 | MODULE_DEVICE_TABLE(acpi, atlas_device_ids); | ||
137 | |||
133 | static struct acpi_driver atlas_acpi_driver = { | 138 | static struct acpi_driver atlas_acpi_driver = { |
134 | .name = ACPI_ATLAS_NAME, | 139 | .name = ACPI_ATLAS_NAME, |
135 | .class = ACPI_ATLAS_CLASS, | 140 | .class = ACPI_ATLAS_CLASS, |
136 | .ids = ACPI_ATLAS_BUTTON_HID, | 141 | .ids = atlas_device_ids, |
137 | .ops = { | 142 | .ops = { |
138 | .add = atlas_acpi_button_add, | 143 | .add = atlas_acpi_button_add, |
139 | .remove = atlas_acpi_button_remove, | 144 | .remove = atlas_acpi_button_remove, |