public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/2] drm/omapdrm: include pinctrl/consumer.h where needed
@ 2016-05-09 21:51 Arnd Bergmann
  2016-05-09 21:51 ` [PATCH 2/2] drm/sti: include linux/seq_file.h " Arnd Bergmann
  2016-05-10 10:52 ` [PATCH 1/2] drm/omapdrm: include pinctrl/consumer.h " Tomi Valkeinen
  0 siblings, 2 replies; 5+ messages in thread
From: Arnd Bergmann @ 2016-05-09 21:51 UTC (permalink / raw)
  To: David Airlie, Tomi Valkeinen, Laurent Pinchart
  Cc: Arnd Bergmann, Dave Gerlach, Rob Clark, Dave Airlie, dri-devel,
	linux-kernel

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>
---
 drivers/gpu/drm/omapdrm/dss/dss.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/gpu/drm/omapdrm/dss/dss.c b/drivers/gpu/drm/omapdrm/dss/dss.c
index f95ff319e68e..3303cfad4838 100644
--- a/drivers/gpu/drm/omapdrm/dss/dss.c
+++ b/drivers/gpu/drm/omapdrm/dss/dss.c
@@ -30,6 +30,7 @@
 #include <linux/delay.h>
 #include <linux/seq_file.h>
 #include <linux/clk.h>
+#include <linux/pinctrl/consumer.h>
 #include <linux/platform_device.h>
 #include <linux/pm_runtime.h>
 #include <linux/gfp.h>
-- 
2.7.0

^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2016-05-11  7:47 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-05-09 21:51 [PATCH 1/2] drm/omapdrm: include pinctrl/consumer.h where needed Arnd Bergmann
2016-05-09 21:51 ` [PATCH 2/2] drm/sti: include linux/seq_file.h " Arnd Bergmann
2016-05-11  7:07   ` Benjamin Gaignard
2016-05-11  7:47     ` Daniel Vetter
2016-05-10 10:52 ` [PATCH 1/2] drm/omapdrm: include pinctrl/consumer.h " Tomi Valkeinen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox