Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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 <arnd@arndb.de>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>

authored by

Arnd Bergmann and committed by
Tomi Valkeinen
2639d6b9 1a695a90

+1
+1
drivers/gpu/drm/omapdrm/dss/dss.c
··· 30 30 #include <linux/delay.h> 31 31 #include <linux/seq_file.h> 32 32 #include <linux/clk.h> 33 + #include <linux/pinctrl/consumer.h> 33 34 #include <linux/platform_device.h> 34 35 #include <linux/pm_runtime.h> 35 36 #include <linux/gfp.h>