For the ACPI based switches the MODULE_DEVICE_TABLE is missing to
export the entries for module auto-loading.
Signed-off-by: Marcel Holtmann <[email protected]>
---
net/rfkill/rfkill-gpio.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/net/rfkill/rfkill-gpio.c b/net/rfkill/rfkill-gpio.c
index 02a86a27fd84..5fa54dd78e25 100644
--- a/net/rfkill/rfkill-gpio.c
+++ b/net/rfkill/rfkill-gpio.c
@@ -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 = {
--
1.9.3
I'm merging this to the wireless tree...
On Fri, Sep 12, 2014 at 09:49:28PM +0200, Marcel Holtmann wrote:
> For the ACPI based switches the MODULE_DEVICE_TABLE is missing to
> export the entries for module auto-loading.
>
> Signed-off-by: Marcel Holtmann <[email protected]>
> ---
> net/rfkill/rfkill-gpio.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/net/rfkill/rfkill-gpio.c b/net/rfkill/rfkill-gpio.c
> index 02a86a27fd84..5fa54dd78e25 100644
> --- a/net/rfkill/rfkill-gpio.c
> +++ b/net/rfkill/rfkill-gpio.c
> @@ -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 = {
> --
> 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
>
>
--
John W. Linville Someday the world will need a hero, and you
[email protected] might be all we have. Be ready.