From: Arnd Bergmann Date: Wed, 11 Jul 2018 15:50:29 +0000 (+0200) Subject: extcon: max3355: include mod_devicetable.h X-Git-Tag: v5.15~8190^2~124 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=c9c159b22902f94ca68e29e4b95b666b87577539;p=platform%2Fkernel%2Flinux-starfive.git 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 Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/extcon/extcon-max3355.c b/drivers/extcon/extcon-max3355.c index 0aa4108..1335a47 100644 --- a/drivers/extcon/extcon-max3355.c +++ b/drivers/extcon/extcon-max3355.c @@ -14,6 +14,7 @@ #include #include #include +#include #include struct max3355_data {