Commit 807e92d1 authored by Andy Shevchenko's avatar Andy Shevchenko

platform/x86: intel-vbtn: 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 57ba2633
...@@ -26,6 +26,7 @@ static const struct acpi_device_id intel_vbtn_ids[] = { ...@@ -26,6 +26,7 @@ static const struct acpi_device_id intel_vbtn_ids[] = {
{"INT33D6", 0}, {"INT33D6", 0},
{"", 0}, {"", 0},
}; };
MODULE_DEVICE_TABLE(acpi, intel_vbtn_ids);
/* In theory, these are HID usages. */ /* In theory, these are HID usages. */
static const struct key_entry intel_vbtn_keymap[] = { static const struct key_entry intel_vbtn_keymap[] = {
...@@ -239,7 +240,6 @@ static struct platform_driver intel_vbtn_pl_driver = { ...@@ -239,7 +240,6 @@ static struct platform_driver intel_vbtn_pl_driver = {
.probe = intel_vbtn_probe, .probe = intel_vbtn_probe,
.remove = intel_vbtn_remove, .remove = intel_vbtn_remove,
}; };
MODULE_DEVICE_TABLE(acpi, intel_vbtn_ids);
static acpi_status __init static acpi_status __init
check_acpi_dev(acpi_handle handle, u32 lvl, void *context, void **rv) check_acpi_dev(acpi_handle handle, u32 lvl, void *context, void **rv)
......
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