summaryrefslogtreecommitdiffstats
path: root/drivers/extcon
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2018-07-11 17:50:29 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-07-11 18:17:56 +0200
commitc9c159b22902f94ca68e29e4b95b666b87577539 (patch)
treeff7e161f4fbc10322cfd739d0110be7d76d9dbc3 /drivers/extcon
parentheaders: fix linux/mod_devicetable.h inclusions (diff)
downloadlinux-c9c159b22902f94ca68e29e4b95b666b87577539.tar.xz
linux-c9c159b22902f94ca68e29e4b95b666b87577539.zip
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>
Diffstat (limited to 'drivers/extcon')
-rw-r--r--drivers/extcon/extcon-max3355.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/extcon/extcon-max3355.c b/drivers/extcon/extcon-max3355.c
index 0aa410836f4e..1335a476bfec 100644
--- a/drivers/extcon/extcon-max3355.c
+++ b/drivers/extcon/extcon-max3355.c
@@ -14,6 +14,7 @@
#include <linux/gpio/consumer.h>
#include <linux/interrupt.h>
#include <linux/module.h>
+#include <linux/mod_devicetable.h>
#include <linux/platform_device.h>
struct max3355_data {