From: Arnd Bergmann Date: Mon, 9 May 2016 21:51:27 +0000 (+0200) Subject: drm/omapdrm: include pinctrl/consumer.h where needed X-Git-Tag: v4.7-rc2~4^2~1^2~8 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=2639d6b9be19e029869158a6b8cbc5d253cd7bbc;p=thirdparty%2Fkernel%2Flinux.git drm/omapdrm: include pinctrl/consumer.h where needed In some configurations, we can build the OMAP dss driver without implictly including the pinctrl consumer definitions, causing a build error: gpu/drm/omapdrm/dss/dss.c: In function 'dss_runtime_suspend': gpu/drm/omapdrm/dss/dss.c:1268:2: error: implicit declaration of function 'pinctrl_pm_select_sleep_state' [-Werror=implicit-function-declaration] This adds an explicit #include. Signed-off-by: Arnd Bergmann Signed-off-by: Tomi Valkeinen --- diff --git a/drivers/gpu/drm/omapdrm/dss/dss.c b/drivers/gpu/drm/omapdrm/dss/dss.c index f95ff319e68e9..3303cfad4838d 100644 --- a/drivers/gpu/drm/omapdrm/dss/dss.c +++ b/drivers/gpu/drm/omapdrm/dss/dss.c @@ -30,6 +30,7 @@ #include #include #include +#include #include #include #include