Commit 57ba2633 authored by Andy Shevchenko's avatar Andy Shevchenko

platform/x86: intel-hid: Move MODULE_DEVICE_TABLE() closer to the table

Move MODULE_DEVICE_TABLE() closer to the table for better maintenance.
Signed-off-by: default avatarAndy Shevchenko <andriy.shevchenko@linux.intel.com>
parent 16292bed
...@@ -23,6 +23,7 @@ static const struct acpi_device_id intel_hid_ids[] = { ...@@ -23,6 +23,7 @@ static const struct acpi_device_id intel_hid_ids[] = {
{"INT33D5", 0}, {"INT33D5", 0},
{"", 0}, {"", 0},
}; };
MODULE_DEVICE_TABLE(acpi, intel_hid_ids);
/* In theory, these are HID usages. */ /* In theory, these are HID usages. */
static const struct key_entry intel_hid_keymap[] = { static const struct key_entry intel_hid_keymap[] = {
...@@ -541,7 +542,6 @@ static struct platform_driver intel_hid_pl_driver = { ...@@ -541,7 +542,6 @@ static struct platform_driver intel_hid_pl_driver = {
.probe = intel_hid_probe, .probe = intel_hid_probe,
.remove = intel_hid_remove, .remove = intel_hid_remove,
}; };
MODULE_DEVICE_TABLE(acpi, intel_hid_ids);
/* /*
* Unfortunately, some laptops provide a _HID="INT33D5" device with * Unfortunately, some laptops provide a _HID="INT33D5" device with
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment