extcon: max3355: include mod_devicetable.h
authorArnd Bergmann <arnd@arndb.de>
Wed, 11 Jul 2018 15:50:29 +0000 (17:50 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 11 Jul 2018 16:17:56 +0000 (18:17 +0200)
commitc9c159b22902f94ca68e29e4b95b666b87577539
treeff7e161f4fbc10322cfd739d0110be7d76d9dbc3
parent37070d6c940e582a39fd9287e06bb40b9f336184
extcon: max3355: include mod_devicetable.h

Another driver turned up that is missing linux/mod_devicetable.h after
the device IDs are split out from linux/platform_device.h:

drivers/extcon/extcon-max3355.c:127:34: error: array type has incomplete element type 'struct of_device_id'
 static const struct of_device_id max3355_match_table[] = {

Fixes: ac3167257b9f ("headers: separate linux/mod_devicetable.h from linux/platform_device.h")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/extcon/extcon-max3355.c