]> git.karo-electronics.de Git - linux-beck.git/commitdiff
drm/omap: Do not include video/omapdss.h directly in drivers
authorPeter Ujfalusi <peter.ujfalusi@ti.com>
Fri, 27 May 2016 11:40:49 +0000 (14:40 +0300)
committerPeter Ujfalusi <peter.ujfalusi@ti.com>
Fri, 3 Jun 2016 13:06:37 +0000 (16:06 +0300)
All drivers to include the omapdrm/dss/omapdss.h header file. This header
includes the <video/omapdss.h>

Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
37 files changed:
drivers/gpu/drm/omapdrm/displays/connector-analog-tv.c
drivers/gpu/drm/omapdrm/displays/connector-dvi.c
drivers/gpu/drm/omapdrm/displays/connector-hdmi.c
drivers/gpu/drm/omapdrm/displays/encoder-opa362.c
drivers/gpu/drm/omapdrm/displays/encoder-tfp410.c
drivers/gpu/drm/omapdrm/displays/encoder-tpd12s015.c
drivers/gpu/drm/omapdrm/displays/panel-dpi.c
drivers/gpu/drm/omapdrm/displays/panel-dsi-cm.c
drivers/gpu/drm/omapdrm/displays/panel-lgphilips-lb035q02.c
drivers/gpu/drm/omapdrm/displays/panel-nec-nl8048hl11.c
drivers/gpu/drm/omapdrm/displays/panel-sharp-ls037v7dw01.c
drivers/gpu/drm/omapdrm/displays/panel-sony-acx565akm.c
drivers/gpu/drm/omapdrm/displays/panel-tpo-td028ttec1.c
drivers/gpu/drm/omapdrm/displays/panel-tpo-td043mtea1.c
drivers/gpu/drm/omapdrm/dss/core.c
drivers/gpu/drm/omapdrm/dss/dispc.c
drivers/gpu/drm/omapdrm/dss/dispc_coefs.c
drivers/gpu/drm/omapdrm/dss/display.c
drivers/gpu/drm/omapdrm/dss/dpi.c
drivers/gpu/drm/omapdrm/dss/dsi.c
drivers/gpu/drm/omapdrm/dss/dss-of.c
drivers/gpu/drm/omapdrm/dss/dss.c
drivers/gpu/drm/omapdrm/dss/dss_features.c
drivers/gpu/drm/omapdrm/dss/hdmi.h
drivers/gpu/drm/omapdrm/dss/hdmi4.c
drivers/gpu/drm/omapdrm/dss/hdmi5.c
drivers/gpu/drm/omapdrm/dss/hdmi_common.c
drivers/gpu/drm/omapdrm/dss/hdmi_phy.c
drivers/gpu/drm/omapdrm/dss/hdmi_pll.c
drivers/gpu/drm/omapdrm/dss/hdmi_wp.c
drivers/gpu/drm/omapdrm/dss/output.c
drivers/gpu/drm/omapdrm/dss/pll.c
drivers/gpu/drm/omapdrm/dss/rfbi.c
drivers/gpu/drm/omapdrm/dss/sdi.c
drivers/gpu/drm/omapdrm/dss/venc.c
drivers/gpu/drm/omapdrm/dss/video-pll.c
drivers/gpu/drm/omapdrm/omap_drv.h

index d963b4a9cfc024c9f55db4b4786a058874ae4939..3485d1ecd6557e271443920804e09f21230af33d 100644 (file)
 #include <linux/platform_device.h>
 #include <linux/of.h>
 
-#include <video/omapdss.h>
 #include <video/omap-panel-data.h>
 
+#include "../dss/omapdss.h"
+
 struct panel_drv_data {
        struct omap_dss_device dssdev;
        struct omap_dss_device *in;
index 747f26a55e43cd74f337042accff30f383159f72..75f7827525cf8e17b7a9bb643dd72dc532ac5b0f 100644 (file)
 #include <linux/slab.h>
 
 #include <drm/drm_edid.h>
-
-#include <video/omapdss.h>
 #include <video/omap-panel-data.h>
 
+#include "../dss/omapdss.h"
+
 static const struct omap_video_timings dvic_default_timings = {
        .x_res          = 640,
        .y_res          = 480,
index 225fd8d6ab31a0fae0d0347bd0155ae4f6d25682..6bac35494819e68d62db2b9e7d9d09af2623a00c 100644 (file)
 #include <linux/of_gpio.h>
 
 #include <drm/drm_edid.h>
-
-#include <video/omapdss.h>
 #include <video/omap-panel-data.h>
 
+#include "../dss/omapdss.h"
+
 static const struct omap_video_timings hdmic_default_timings = {
        .x_res          = 640,
        .y_res          = 480,
index 8c246c213e06ea1bfaff43f49c34e4a903a6193a..a36c36d3328e33cbe990aa25248795f7cdbe2dc8 100644 (file)
@@ -20,7 +20,7 @@
 #include <linux/slab.h>
 #include <linux/of_gpio.h>
 
-#include <video/omapdss.h>
+#include "../dss/omapdss.h"
 
 struct panel_drv_data {
        struct omap_dss_device dssdev;
index 6b7d4fc3ac125d527f3af939b85c0ac5e88e06ee..027e2365f9e049978df154f0e992ceea932609b9 100644 (file)
@@ -15,7 +15,7 @@
 #include <linux/slab.h>
 #include <linux/of_gpio.h>
 
-#include <video/omapdss.h>
+#include "../dss/omapdss.h"
 
 struct panel_drv_data {
        struct omap_dss_device dssdev;
index f4f23f5cfe3eaeb61270285fe03415e6356828ff..46855c8f5cbf3fe820666fb57af364c3d8ca4b11 100644 (file)
@@ -16,7 +16,7 @@
 #include <linux/platform_device.h>
 #include <linux/gpio/consumer.h>
 
-#include <video/omapdss.h>
+#include "../dss/omapdss.h"
 
 struct panel_drv_data {
        struct omap_dss_device dssdev;
index e780fd4f8b46b3cc24637985eeb663960b522429..3baccf732d96dead3d8508d75d5201d2c8546181 100644 (file)
 #include <linux/of.h>
 #include <linux/of_gpio.h>
 
-#include <video/omapdss.h>
 #include <video/omap-panel-data.h>
 #include <video/of_display_timing.h>
 
+#include "../dss/omapdss.h"
+
 struct panel_drv_data {
        struct omap_dss_device dssdev;
        struct omap_dss_device *in;
index 6dcb75f6f0c55f1571da5a4c17206d929312b0b1..bb20881dd1af0589080114d9da39053248ce05fb 100644 (file)
 #include <linux/of_device.h>
 #include <linux/of_gpio.h>
 
-#include <video/omapdss.h>
 #include <video/mipi_display.h>
 
+#include "../dss/omapdss.h"
+
 /* DSI Virtual channel. Hardcoded for now. */
 #define TCH 0
 
index 1bd682864217ba512e43fab007db8b65e4106d71..3f4477fc1dbc3e1679337cd301bbda0d8b1905b5 100644 (file)
@@ -16,7 +16,7 @@
 #include <linux/mutex.h>
 #include <linux/gpio.h>
 
-#include <video/omapdss.h>
+#include "../dss/omapdss.h"
 
 static struct omap_video_timings lb035q02_timings = {
        .x_res = 320,
index 780cb263a318ebe311eac0fa67dbeb5fe3ed6864..6872b6adf095db4e771e1e3ccfd6a786fd7fb842 100644 (file)
@@ -18,7 +18,7 @@
 #include <linux/gpio.h>
 #include <linux/of_gpio.h>
 
-#include <video/omapdss.h>
+#include "../dss/omapdss.h"
 
 struct panel_drv_data {
        struct omap_dss_device  dssdev;
index 529a017602e4687bdf9cf8d11359e357e991f4ae..22b1d140c30e7b8e02b31ab29c1989d62716df5d 100644 (file)
@@ -17,7 +17,8 @@
 #include <linux/platform_device.h>
 #include <linux/slab.h>
 #include <linux/regulator/consumer.h>
-#include <video/omapdss.h>
+
+#include "../dss/omapdss.h"
 
 struct panel_drv_data {
        struct omap_dss_device dssdev;
index 31efcca801bdce78f68b6e963a4c80694f85b7d1..f85cbb3a1adde22a932dff54d5444648d7a7ea8a 100644 (file)
 #include <linux/of.h>
 #include <linux/of_gpio.h>
 
-#include <video/omapdss.h>
 #include <video/omap-panel-data.h>
 
+#include "../dss/omapdss.h"
+
 #define MIPID_CMD_READ_DISP_ID         0x04
 #define MIPID_CMD_READ_RED             0x06
 #define MIPID_CMD_READ_GREEN           0x07
index bd8d850419267e4b74307e70e43f8149e097c593..e859b3f893f70a67c956615894c87f8b8f9fc171 100644 (file)
@@ -28,7 +28,8 @@
 #include <linux/delay.h>
 #include <linux/spi/spi.h>
 #include <linux/gpio.h>
-#include <video/omapdss.h>
+
+#include "../dss/omapdss.h"
 
 struct panel_drv_data {
        struct omap_dss_device dssdev;
index 03e2beb7b4f0719263719c75f1f46cd6cc318369..bcbab4972bbc027131ce404584a067c31eeca8ba 100644 (file)
@@ -19,7 +19,7 @@
 #include <linux/slab.h>
 #include <linux/of_gpio.h>
 
-#include <video/omapdss.h>
+#include "../dss/omapdss.h"
 
 #define TPO_R02_MODE(x)                ((x) & 7)
 #define TPO_R02_MODE_800x480   7
index 9cf22b30023f5e40e0dc4bf7c8c09b47c03fe24d..6a3ebfcd72238a8a9206787bbea662f8043ba27a 100644 (file)
@@ -35,8 +35,7 @@
 #include <linux/suspend.h>
 #include <linux/slab.h>
 
-#include <video/omapdss.h>
-
+#include "omapdss.h"
 #include "dss.h"
 #include "dss_features.h"
 
index f83608b69e68342a1f1c779bfd13f2ac1a9c4d4e..1fc15b8c769ca82e11776fdb2e83ca7af2f1dc10 100644 (file)
@@ -41,8 +41,7 @@
 #include <linux/of.h>
 #include <linux/component.h>
 
-#include <video/omapdss.h>
-
+#include "omapdss.h"
 #include "dss.h"
 #include "dss_features.h"
 #include "dispc.h"
index 038c15b04215c8d11adfbde220be1f25b54d75e3..34fad2376f8ddf1d713d1adaac09e9d787cea50f 100644 (file)
@@ -18,8 +18,8 @@
  */
 
 #include <linux/kernel.h>
-#include <video/omapdss.h>
 
+#include "omapdss.h"
 #include "dispc.h"
 
 static const struct dispc_coef coef3_M8[8] = {
index 9f3dd09b0a6c79bab81940860c99c45789542d1c..8dcdd7cf993706afe59005a10794bc937d763b55 100644 (file)
@@ -28,7 +28,7 @@
 #include <linux/platform_device.h>
 #include <linux/of.h>
 
-#include <video/omapdss.h>
+#include "omapdss.h"
 #include "dss.h"
 #include "dss_features.h"
 
index 97ea602578849c966ec0f50e69c725fb666f5018..56068d4fb12122b543a31f0fb3364cbeb2c7e71e 100644 (file)
@@ -34,8 +34,7 @@
 #include <linux/clk.h>
 #include <linux/component.h>
 
-#include <video/omapdss.h>
-
+#include "omapdss.h"
 #include "dss.h"
 #include "dss_features.h"
 
index 8730646a0cbb260c4482d9c2dad58c9c89d9f597..d56ad7cc6b88ae35ae0fa815a4623fee39291b98 100644 (file)
@@ -42,9 +42,9 @@
 #include <linux/of_platform.h>
 #include <linux/component.h>
 
-#include <video/omapdss.h>
 #include <video/mipi_display.h>
 
+#include "omapdss.h"
 #include "dss.h"
 #include "dss_features.h"
 
index bf407b6ba15ca0002166a0704124eeda0fb2052e..dfd4e9621e3b1c969b76ac6873a480a163d98959 100644 (file)
@@ -18,8 +18,7 @@
 #include <linux/of.h>
 #include <linux/seq_file.h>
 
-#include <video/omapdss.h>
-
+#include "omapdss.h"
 #include "dss.h"
 
 struct device_node *
index f95ff319e68e9f20aa8fb8cf3b7f583d0c4c2373..68942ba3ec44f9ca86a7372b2d4ac6ecec318668 100644 (file)
@@ -41,8 +41,7 @@
 #include <linux/suspend.h>
 #include <linux/component.h>
 
-#include <video/omapdss.h>
-
+#include "omapdss.h"
 #include "dss.h"
 #include "dss_features.h"
 
index c886a2927f73f77d5e6054eec26f5d9d61427ee3..602ce1af5288b698806b742af320d071b183f30f 100644 (file)
@@ -23,8 +23,7 @@
 #include <linux/err.h>
 #include <linux/slab.h>
 
-#include <video/omapdss.h>
-
+#include "omapdss.h"
 #include "dss.h"
 #include "dss_features.h"
 
index c32a21a260549eee85be2b61e1c7296f803a7651..2f926f39d197f07654000ff97c3e0302df7028fd 100644 (file)
@@ -23,9 +23,9 @@
 #include <linux/io.h>
 #include <linux/platform_device.h>
 #include <linux/hdmi.h>
-#include <video/omapdss.h>
 #include <sound/omap-hdmi-audio.h>
 
+#include "omapdss.h"
 #include "dss.h"
 
 /* HDMI Wrapper */
index f892ae157ff3b429fc1532da85daaf65871f5e08..8de111ea1dbcfeb435f56e0d988b0d2fe5eb3a82 100644 (file)
@@ -33,9 +33,9 @@
 #include <linux/gpio.h>
 #include <linux/regulator/consumer.h>
 #include <linux/component.h>
-#include <video/omapdss.h>
 #include <sound/omap-hdmi-audio.h>
 
+#include "omapdss.h"
 #include "hdmi4_core.h"
 #include "dss.h"
 #include "dss_features.h"
index a43f7b10e11344bc63c19f7904ce21d0d14b15e4..15145163be13eb3f7e85afff0e2a248df723f25b 100644 (file)
@@ -38,9 +38,9 @@
 #include <linux/gpio.h>
 #include <linux/regulator/consumer.h>
 #include <linux/component.h>
-#include <video/omapdss.h>
 #include <sound/omap-hdmi-audio.h>
 
+#include "omapdss.h"
 #include "hdmi5_core.h"
 #include "dss.h"
 #include "dss_features.h"
index 1b8fcc6c4ba1ba9381709d4970cb25a950640fdb..4dfb67fe5f6dcb75adae7321e4f86aee7ed76b1b 100644 (file)
@@ -4,8 +4,8 @@
 #include <linux/kernel.h>
 #include <linux/err.h>
 #include <linux/of.h>
-#include <video/omapdss.h>
 
+#include "omapdss.h"
 #include "hdmi.h"
 
 int hdmi_parse_lanes_of(struct platform_device *pdev, struct device_node *ep,
index 1f5d19c119cea01dbf17801f9f149cf0e38afc06..3991b8fb91401b59c2dfaefad91af1887d588a3f 100644 (file)
@@ -13,8 +13,8 @@
 #include <linux/io.h>
 #include <linux/platform_device.h>
 #include <linux/slab.h>
-#include <video/omapdss.h>
 
+#include "omapdss.h"
 #include "dss.h"
 #include "hdmi.h"
 
index 06e23a7c432ccea22b02cfb32e47d2516ee757e2..ad624b3d09f3249cf0d406d0d0b116e4a91a490e 100644 (file)
@@ -17,8 +17,7 @@
 #include <linux/platform_device.h>
 #include <linux/clk.h>
 
-#include <video/omapdss.h>
-
+#include "omapdss.h"
 #include "dss.h"
 #include "hdmi.h"
 
index 13442b9052d1fa131edbd4795301f928daad9c67..48779155e4d0c87cc0dc71e456cf3fe7b01e0edc 100644 (file)
@@ -14,8 +14,8 @@
 #include <linux/err.h>
 #include <linux/io.h>
 #include <linux/platform_device.h>
-#include <video/omapdss.h>
 
+#include "omapdss.h"
 #include "dss.h"
 #include "hdmi.h"
 
index 829232ad8c8189d4449cdaf92cae047fb3562ff8..24f859488201a26df933a9475e49de1195ed1196 100644 (file)
@@ -21,8 +21,7 @@
 #include <linux/slab.h>
 #include <linux/of.h>
 
-#include <video/omapdss.h>
-
+#include "omapdss.h"
 #include "dss.h"
 
 static LIST_HEAD(output_list);
index f974ddcd3b6e97563f455c3b4196e6641d7ed041..0ffee5c49d14c24dd1e00894db1147667b239cf1 100644 (file)
@@ -22,8 +22,7 @@
 #include <linux/regulator/consumer.h>
 #include <linux/sched.h>
 
-#include <video/omapdss.h>
-
+#include "omapdss.h"
 #include "dss.h"
 
 #define PLL_CONTROL                    0x0000
index 3796576dfadf8840a404427e4bd3946d914d3367..cd53566d75eb42b1f2e5a732581101b89b2a5e42 100644 (file)
@@ -38,7 +38,7 @@
 #include <linux/pm_runtime.h>
 #include <linux/component.h>
 
-#include <video/omapdss.h>
+#include "omapdss.h"
 #include "dss.h"
 
 struct rfbi_reg { u16 idx; };
index cd6d3bfb041d4bc07526afb26b6d5f0ed34652aa..0a96c321ce6268dffef06920eea8b11ddb9d828a 100644 (file)
@@ -29,7 +29,7 @@
 #include <linux/of.h>
 #include <linux/component.h>
 
-#include <video/omapdss.h>
+#include "omapdss.h"
 #include "dss.h"
 
 static struct {
index 08a2cc778ba9692b5d66aad8d5871022867adca7..6eedf2118708123c71697b1833c1550d2f838a2e 100644 (file)
@@ -37,8 +37,7 @@
 #include <linux/of.h>
 #include <linux/component.h>
 
-#include <video/omapdss.h>
-
+#include "omapdss.h"
 #include "dss.h"
 #include "dss_features.h"
 
index b1ec59e42940c22ef2b63042dd4a523917bea64f..180b55bbab8ac1cf955312da5a718c60efa308b7 100644 (file)
@@ -17,8 +17,7 @@
 #include <linux/platform_device.h>
 #include <linux/sched.h>
 
-#include <video/omapdss.h>
-
+#include "omapdss.h"
 #include "dss.h"
 #include "dss_features.h"
 
index 3f823c36891267a388db643176c3662333f4a779..38786886d30e5b664f0f65829bfd5f3fb232a6f4 100644 (file)
@@ -24,7 +24,6 @@
 #include <linux/platform_data/omap_drm.h>
 #include <linux/types.h>
 #include <linux/wait.h>
-#include <video/omapdss.h>
 
 #include <drm/drmP.h>
 #include <drm/drm_crtc_helper.h>