Skip to contentSkip to conversation

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

PATCH In review Marcel Holtmann 2 participants 2 messages Sep 12, 2014 – Sep 16, 2014

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 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.

---
 net/rfkill/rfkill-gpio.c | 1 +
 1 file changed, 1 insertion(+)
net/rfkill/rfkill-gpio.c +1 -0
index 02a86a27fd84..5fa54dd78e25 100644
@@ -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 = {
Signature · 1 line
1.9.3
#1 lore raw

I'm merging this to the wireless tree...

Quoted 29 lines · Marcel Holtmann

For the ACPI based switches the MODULE_DEVICE_TABLE is missing to export the entries for module auto-loading.

---
net/rfkill/rfkill-gpio.c | 1 +

1 file changed, 1 insertion(+)
net/rfkill/rfkill-gpio.c +1 -0
index 02a86a27fd84..5fa54dd78e25 100644
@@ -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 = {
Signature · 6 lines
1.9.3

--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Signature · 2 lines
John W. Linville		Someday the world will need a hero, and you
[email protected]			might be all we have.  Be ready.