• A
    rfkill-gpio: include linux/mod_devicetable.h · f623f75a
    Arnd Bergmann 提交于
    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: ac316725 ("headers: separate linux/mod_devicetable.h from linux/platform_device.h")
    Signed-off-by: NArnd Bergmann <arnd@arndb.de>
    Signed-off-by: NJohannes Berg <johannes.berg@intel.com>
    f623f75a
rfkill-gpio.c 4.7 KB