Commit dda3b191 authored by Marcel Holtmann's avatar Marcel Holtmann Committed by John W. Linville

net: rfkill: gpio: Enable module auto-loading for ACPI based switches

For the ACPI based switches the MODULE_DEVICE_TABLE is missing to
export the entries for module auto-loading.
Signed-off-by: default avatarMarcel Holtmann <marcel@holtmann.org>
Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
parent d21ccfd0
...@@ -163,6 +163,7 @@ static const struct acpi_device_id rfkill_acpi_match[] = { ...@@ -163,6 +163,7 @@ static const struct acpi_device_id rfkill_acpi_match[] = {
{ "LNV4752", RFKILL_TYPE_GPS }, { "LNV4752", RFKILL_TYPE_GPS },
{ }, { },
}; };
MODULE_DEVICE_TABLE(acpi, rfkill_acpi_match);
#endif #endif
static struct platform_driver rfkill_gpio_driver = { static struct platform_driver rfkill_gpio_driver = {
......
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