]> git.baikalelectronics.ru Git - kernel.git/commitdiff
video: omapfb: fix missing #includes
authorTomi Valkeinen <tomi.valkeinen@ti.com>
Fri, 9 Feb 2018 13:43:49 +0000 (14:43 +0100)
committerBartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
Fri, 9 Feb 2018 13:43:49 +0000 (14:43 +0100)
The omapfb driver fails to build after commit 4f847704b6ba
("pinctrl: remove include file from <linux/device.h>") because it
relies on the <linux/pinctrl/consumer.h> and <linux/seq_file.h>
being pulled in by the <linux/device.h> header implicitly.

Include these headers explicitly to avoid the build failures.

Fixes: 4f847704b6ba ("pinctrl: remove include file from <linux/device.h>")
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Tested-by: Tony Lindgren <tony@atomide.com>
[b.zolnierkie: fix include order and patch description]
Signed-off-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
drivers/video/fbdev/omap2/omapfb/dss/dss.c
drivers/video/fbdev/omap2/omapfb/dss/hdmi_phy.c
drivers/video/fbdev/omap2/omapfb/dss/hdmi_pll.c
drivers/video/fbdev/omap2/omapfb/dss/hdmi_wp.c

index 39fe7247ff9849ec54cdf033efcbb8b051887439..f0cac9e0eb944ed55f455881aeea7124d456701f 100644 (file)
@@ -40,6 +40,7 @@
 #include <linux/regulator/consumer.h>
 #include <linux/suspend.h>
 #include <linux/component.h>
+#include <linux/pinctrl/consumer.h>
 
 #include <video/omapfb_dss.h>
 
index eee09b4bdcf63e481563cff3977e57214d83310f..11dbc05d5720a98da8719b75dd6262adfad045b4 100644 (file)
@@ -13,6 +13,8 @@
 #include <linux/io.h>
 #include <linux/platform_device.h>
 #include <linux/slab.h>
+#include <linux/seq_file.h>
+
 #include <video/omapfb_dss.h>
 
 #include "dss.h"
index eac3665aba6cbe25a257eb752d4f1d5c8a9ca141..bc591fc12aefaae35ae687fd85ac1471a0ceab42 100644 (file)
@@ -16,6 +16,7 @@
 #include <linux/io.h>
 #include <linux/platform_device.h>
 #include <linux/clk.h>
+#include <linux/seq_file.h>
 
 #include <video/omapfb_dss.h>
 
index 705373e4cf3864edc19911509e0342966f1f00fd..4af6ba220744d0244a2b3defd996495432fe7e4e 100644 (file)
@@ -14,6 +14,8 @@
 #include <linux/err.h>
 #include <linux/io.h>
 #include <linux/platform_device.h>
+#include <linux/seq_file.h>
+
 #include <video/omapfb_dss.h>
 
 #include "dss.h"