]> git.baikalelectronics.ru Git - kernel.git/commit
rfkill-gpio: include linux/mod_devicetable.h
authorArnd Bergmann <arnd@arndb.de>
Mon, 13 Aug 2018 22:35:24 +0000 (00:35 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Tue, 14 Aug 2018 11:59:28 +0000 (13:59 +0200)
commit9c8833caca5ce161ace7302768ae9484154ad2f8
tree55f7fe03aa020e3aaaad18ab25550daee8b92478
parent53da15151ca8e34c39d56b7837e9296f06095cbe
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: e9aeae82d580 ("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>
net/rfkill/rfkill-gpio.c