projects
/
platform
/
kernel
/
linux-rpi3.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d21ccfd
)
net: rfkill: gpio: Enable module auto-loading for ACPI based switches
author
Marcel Holtmann
<marcel@holtmann.org>
Fri, 12 Sep 2014 19:49:28 +0000
(21:49 +0200)
committer
John W. Linville
<linville@tuxdriver.com>
Tue, 16 Sep 2014 20:09:01 +0000
(16:09 -0400)
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>
net/rfkill/rfkill-gpio.c
patch
|
blob
|
history
diff --git
a/net/rfkill/rfkill-gpio.c
b/net/rfkill/rfkill-gpio.c
index
02a86a2
..
5fa54dd
100644
(file)
--- 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 = {