drm/rockchip: lvds: Explicitly include pinctrl headers
authorThierry Reding <treding@nvidia.com>
Mon, 5 Feb 2018 12:47:49 +0000 (13:47 +0100)
committerLinus Torvalds <torvalds@linux-foundation.org>
Mon, 5 Feb 2018 17:41:54 +0000 (09:41 -0800)
The Rockchip LVDS driver fails to build after commit 23c35f48f5fb
("pinctrl: remove include file from <linux/device.h>") because it relies
on the pinctrl/consumer.h and pinctrl/devinfo.h being pulled in by the
device.h header implicitly.

Include these headers explicitly to avoid the build failure.

Cc: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Thierry Reding <treding@nvidia.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/gpu/drm/rockchip/rockchip_lvds.c

index 84911bdc27d10ec915f4c140156916fc744261d7..e67f4ea28c0e4122e4a4ce5ae48843e2f9b8a847 100644 (file)
@@ -25,6 +25,7 @@
 #include <linux/clk.h>
 #include <linux/mfd/syscon.h>
 #include <linux/of_graph.h>
+#include <linux/pinctrl/devinfo.h>
 #include <linux/pm_runtime.h>
 #include <linux/regmap.h>
 #include <linux/reset.h>