summaryrefslogtreecommitdiffstats
path: root/net/rfkill
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2018-08-14 00:35:24 +0200
committerJohannes Berg <johannes.berg@intel.com>2018-08-14 13:59:28 +0200
commitf623f75ae443d0c771635d51cc986b9d389bf631 (patch)
tree55f7fe03aa020e3aaaad18ab25550daee8b92478 /net/rfkill
parentec0c96714e7ddeda4eccaa077f5646a0fd6e371f (diff)
downloadlinux-f623f75ae443d0c771635d51cc986b9d389bf631.tar.gz
linux-f623f75ae443d0c771635d51cc986b9d389bf631.tar.bz2
linux-f623f75ae443d0c771635d51cc986b9d389bf631.zip
rfkill-gpio: include linux/mod_devicetable.h
One more driver is apparently broken by the recent change to linux/platform_device.h: net/rfkill/rfkill-gpio.c: In function 'rfkill_gpio_acpi_probe': net/rfkill/rfkill-gpio.c:82:29: error: dereferencing pointer to incomplete type 'const struct acpi_device_id' Include linux/mod_devicetable.h to get the definition of the acpi_device_id structure. Fixes: ac3167257b9f ("headers: separate linux/mod_devicetable.h from linux/platform_device.h") Signed-off-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/rfkill')
-rw-r--r--net/rfkill/rfkill-gpio.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/net/rfkill/rfkill-gpio.c b/net/rfkill/rfkill-gpio.c
index 00192a996be0..0f8465852254 100644
--- a/net/rfkill/rfkill-gpio.c
+++ b/net/rfkill/rfkill-gpio.c
@@ -20,6 +20,7 @@
#include <linux/init.h>
#include <linux/kernel.h>
#include <linux/module.h>
+#include <linux/mod_devicetable.h>
#include <linux/rfkill.h>
#include <linux/platform_device.h>
#include <linux/clk.h>