Skip to content

Commit

Permalink
net: rfkill: gpio: Enable module auto-loading for ACPI based switches
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Marcel Holtmann authored and John W. Linville committed Sep 16, 2014
1 parent d21ccfd commit dda3b19
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions net/rfkill/rfkill-gpio.c
Original file line number Diff line number Diff line change
Expand Up @@ -163,6 +163,7 @@ static const struct acpi_device_id rfkill_acpi_match[] = {
{ "LNV4752", RFKILL_TYPE_GPS },
{ },
};
MODULE_DEVICE_TABLE(acpi, rfkill_acpi_match);
#endif

static struct platform_driver rfkill_gpio_driver = {
Expand Down

0 comments on commit dda3b19

Please sign in to comment.