Эх сурвалжийг харах

drm/omap: Do not include video/omapdss.h directly in drivers

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>
Peter Ujfalusi 9 жил өмнө
parent
commit
32043da7dc
37 өөрчлөгдсөн 44 нэмэгдсэн , 50 устгасан
  1. 2 1
      drivers/gpu/drm/omapdrm/displays/connector-analog-tv.c
  2. 2 2
      drivers/gpu/drm/omapdrm/displays/connector-dvi.c
  3. 2 2
      drivers/gpu/drm/omapdrm/displays/connector-hdmi.c
  4. 1 1
      drivers/gpu/drm/omapdrm/displays/encoder-opa362.c
  5. 1 1
      drivers/gpu/drm/omapdrm/displays/encoder-tfp410.c
  6. 1 1
      drivers/gpu/drm/omapdrm/displays/encoder-tpd12s015.c
  7. 2 1
      drivers/gpu/drm/omapdrm/displays/panel-dpi.c
  8. 2 1
      drivers/gpu/drm/omapdrm/displays/panel-dsi-cm.c
  9. 1 1
      drivers/gpu/drm/omapdrm/displays/panel-lgphilips-lb035q02.c
  10. 1 1
      drivers/gpu/drm/omapdrm/displays/panel-nec-nl8048hl11.c
  11. 2 1
      drivers/gpu/drm/omapdrm/displays/panel-sharp-ls037v7dw01.c
  12. 2 1
      drivers/gpu/drm/omapdrm/displays/panel-sony-acx565akm.c
  13. 2 1
      drivers/gpu/drm/omapdrm/displays/panel-tpo-td028ttec1.c
  14. 1 1
      drivers/gpu/drm/omapdrm/displays/panel-tpo-td043mtea1.c
  15. 1 2
      drivers/gpu/drm/omapdrm/dss/core.c
  16. 1 2
      drivers/gpu/drm/omapdrm/dss/dispc.c
  17. 1 1
      drivers/gpu/drm/omapdrm/dss/dispc_coefs.c
  18. 1 1
      drivers/gpu/drm/omapdrm/dss/display.c
  19. 1 2
      drivers/gpu/drm/omapdrm/dss/dpi.c
  20. 1 1
      drivers/gpu/drm/omapdrm/dss/dsi.c
  21. 1 2
      drivers/gpu/drm/omapdrm/dss/dss-of.c
  22. 1 2
      drivers/gpu/drm/omapdrm/dss/dss.c
  23. 1 2
      drivers/gpu/drm/omapdrm/dss/dss_features.c
  24. 1 1
      drivers/gpu/drm/omapdrm/dss/hdmi.h
  25. 1 1
      drivers/gpu/drm/omapdrm/dss/hdmi4.c
  26. 1 1
      drivers/gpu/drm/omapdrm/dss/hdmi5.c
  27. 1 1
      drivers/gpu/drm/omapdrm/dss/hdmi_common.c
  28. 1 1
      drivers/gpu/drm/omapdrm/dss/hdmi_phy.c
  29. 1 2
      drivers/gpu/drm/omapdrm/dss/hdmi_pll.c
  30. 1 1
      drivers/gpu/drm/omapdrm/dss/hdmi_wp.c
  31. 1 2
      drivers/gpu/drm/omapdrm/dss/output.c
  32. 1 2
      drivers/gpu/drm/omapdrm/dss/pll.c
  33. 1 1
      drivers/gpu/drm/omapdrm/dss/rfbi.c
  34. 1 1
      drivers/gpu/drm/omapdrm/dss/sdi.c
  35. 1 2
      drivers/gpu/drm/omapdrm/dss/venc.c
  36. 1 2
      drivers/gpu/drm/omapdrm/dss/video-pll.c
  37. 0 1
      drivers/gpu/drm/omapdrm/omap_drv.h

+ 2 - 1
drivers/gpu/drm/omapdrm/displays/connector-analog-tv.c

@@ -14,9 +14,10 @@
 #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;

+ 2 - 2
drivers/gpu/drm/omapdrm/displays/connector-dvi.c

@@ -15,10 +15,10 @@
 #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,

+ 2 - 2
drivers/gpu/drm/omapdrm/displays/connector-hdmi.c

@@ -16,10 +16,10 @@
 #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,

+ 1 - 1
drivers/gpu/drm/omapdrm/displays/encoder-opa362.c

@@ -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;

+ 1 - 1
drivers/gpu/drm/omapdrm/displays/encoder-tfp410.c

@@ -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;

+ 1 - 1
drivers/gpu/drm/omapdrm/displays/encoder-tpd12s015.c

@@ -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;

+ 2 - 1
drivers/gpu/drm/omapdrm/displays/panel-dpi.c

@@ -16,10 +16,11 @@
 #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;

+ 2 - 1
drivers/gpu/drm/omapdrm/displays/panel-dsi-cm.c

@@ -25,9 +25,10 @@
 #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
 

+ 1 - 1
drivers/gpu/drm/omapdrm/displays/panel-lgphilips-lb035q02.c

@@ -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,

+ 1 - 1
drivers/gpu/drm/omapdrm/displays/panel-nec-nl8048hl11.c

@@ -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;

+ 2 - 1
drivers/gpu/drm/omapdrm/displays/panel-sharp-ls037v7dw01.c

@@ -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;

+ 2 - 1
drivers/gpu/drm/omapdrm/displays/panel-sony-acx565akm.c

@@ -33,9 +33,10 @@
 #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

+ 2 - 1
drivers/gpu/drm/omapdrm/displays/panel-tpo-td028ttec1.c

@@ -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;

+ 1 - 1
drivers/gpu/drm/omapdrm/displays/panel-tpo-td043mtea1.c

@@ -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

+ 1 - 2
drivers/gpu/drm/omapdrm/dss/core.c

@@ -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"
 

+ 1 - 2
drivers/gpu/drm/omapdrm/dss/dispc.c

@@ -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"

+ 1 - 1
drivers/gpu/drm/omapdrm/dss/dispc_coefs.c

@@ -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] = {

+ 1 - 1
drivers/gpu/drm/omapdrm/dss/display.c

@@ -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"
 

+ 1 - 2
drivers/gpu/drm/omapdrm/dss/dpi.c

@@ -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"
 

+ 1 - 1
drivers/gpu/drm/omapdrm/dss/dsi.c

@@ -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"
 

+ 1 - 2
drivers/gpu/drm/omapdrm/dss/dss-of.c

@@ -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 *

+ 1 - 2
drivers/gpu/drm/omapdrm/dss/dss.c

@@ -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"
 

+ 1 - 2
drivers/gpu/drm/omapdrm/dss/dss_features.c

@@ -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"
 

+ 1 - 1
drivers/gpu/drm/omapdrm/dss/hdmi.h

@@ -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 */

+ 1 - 1
drivers/gpu/drm/omapdrm/dss/hdmi4.c

@@ -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"

+ 1 - 1
drivers/gpu/drm/omapdrm/dss/hdmi5.c

@@ -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"

+ 1 - 1
drivers/gpu/drm/omapdrm/dss/hdmi_common.c

@@ -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,

+ 1 - 1
drivers/gpu/drm/omapdrm/dss/hdmi_phy.c

@@ -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"
 

+ 1 - 2
drivers/gpu/drm/omapdrm/dss/hdmi_pll.c

@@ -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"
 

+ 1 - 1
drivers/gpu/drm/omapdrm/dss/hdmi_wp.c

@@ -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"
 

+ 1 - 2
drivers/gpu/drm/omapdrm/dss/output.c

@@ -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);

+ 1 - 2
drivers/gpu/drm/omapdrm/dss/pll.c

@@ -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

+ 1 - 1
drivers/gpu/drm/omapdrm/dss/rfbi.c

@@ -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; };

+ 1 - 1
drivers/gpu/drm/omapdrm/dss/sdi.c

@@ -29,7 +29,7 @@
 #include <linux/of.h>
 #include <linux/component.h>
 
-#include <video/omapdss.h>
+#include "omapdss.h"
 #include "dss.h"
 
 static struct {

+ 1 - 2
drivers/gpu/drm/omapdrm/dss/venc.c

@@ -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"
 

+ 1 - 2
drivers/gpu/drm/omapdrm/dss/video-pll.c

@@ -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"
 

+ 0 - 1
drivers/gpu/drm/omapdrm/omap_drv.h

@@ -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>