浏览代码

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>
Marcel Holtmann 11 年之前
父节点
当前提交
dda3b191eb
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      net/rfkill/rfkill-gpio.c

+ 1 - 0
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 = {