Skip to content

Commit dda3b19

Browse files
holtmannlinvjw
authored andcommitted
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: Marcel Holtmann <marcel@holtmann.org> Signed-off-by: John W. Linville <linville@tuxdriver.com>
1 parent d21ccfd commit dda3b19

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

‎net/rfkill/rfkill-gpio.c‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -163,6 +163,7 @@ static const struct acpi_device_id rfkill_acpi_match[] = {
163163
{ "LNV4752", RFKILL_TYPE_GPS },
164164
{ },
165165
};
166+
MODULE_DEVICE_TABLE(acpi, rfkill_acpi_match);
166167
#endif
167168

168169
static struct platform_driver rfkill_gpio_driver = {

0 commit comments

Comments
 (0)