• Arnd Bergmann's avatar
    rfkill-gpio: include linux/mod_devicetable.h · f623f75a
    Arnd Bergmann authored
    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: default avatarArnd Bergmann <arnd@arndb.de>
    Signed-off-by: default avatarJohannes Berg <johannes.berg@intel.com>
    f623f75a
rfkill-gpio.c 4.67 KB