Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

+44 -50
+2 -1
drivers/gpu/drm/omapdrm/displays/connector-analog-tv.c
··· 14 14 #include <linux/platform_device.h> 15 15 #include <linux/of.h> 16 16 17 - #include <video/omapdss.h> 18 17 #include <video/omap-panel-data.h> 18 + 19 + #include "../dss/omapdss.h" 19 20 20 21 struct panel_drv_data { 21 22 struct omap_dss_device dssdev;
+2 -2
drivers/gpu/drm/omapdrm/displays/connector-dvi.c
··· 15 15 #include <linux/slab.h> 16 16 17 17 #include <drm/drm_edid.h> 18 - 19 - #include <video/omapdss.h> 20 18 #include <video/omap-panel-data.h> 19 + 20 + #include "../dss/omapdss.h" 21 21 22 22 static const struct omap_video_timings dvic_default_timings = { 23 23 .x_res = 640,
+2 -2
drivers/gpu/drm/omapdrm/displays/connector-hdmi.c
··· 16 16 #include <linux/of_gpio.h> 17 17 18 18 #include <drm/drm_edid.h> 19 - 20 - #include <video/omapdss.h> 21 19 #include <video/omap-panel-data.h> 20 + 21 + #include "../dss/omapdss.h" 22 22 23 23 static const struct omap_video_timings hdmic_default_timings = { 24 24 .x_res = 640,
+1 -1
drivers/gpu/drm/omapdrm/displays/encoder-opa362.c
··· 20 20 #include <linux/slab.h> 21 21 #include <linux/of_gpio.h> 22 22 23 - #include <video/omapdss.h> 23 + #include "../dss/omapdss.h" 24 24 25 25 struct panel_drv_data { 26 26 struct omap_dss_device dssdev;
+1 -1
drivers/gpu/drm/omapdrm/displays/encoder-tfp410.c
··· 15 15 #include <linux/slab.h> 16 16 #include <linux/of_gpio.h> 17 17 18 - #include <video/omapdss.h> 18 + #include "../dss/omapdss.h" 19 19 20 20 struct panel_drv_data { 21 21 struct omap_dss_device dssdev;
+1 -1
drivers/gpu/drm/omapdrm/displays/encoder-tpd12s015.c
··· 16 16 #include <linux/platform_device.h> 17 17 #include <linux/gpio/consumer.h> 18 18 19 - #include <video/omapdss.h> 19 + #include "../dss/omapdss.h" 20 20 21 21 struct panel_drv_data { 22 22 struct omap_dss_device dssdev;
+2 -1
drivers/gpu/drm/omapdrm/displays/panel-dpi.c
··· 16 16 #include <linux/of.h> 17 17 #include <linux/of_gpio.h> 18 18 19 - #include <video/omapdss.h> 20 19 #include <video/omap-panel-data.h> 21 20 #include <video/of_display_timing.h> 21 + 22 + #include "../dss/omapdss.h" 22 23 23 24 struct panel_drv_data { 24 25 struct omap_dss_device dssdev;
+2 -1
drivers/gpu/drm/omapdrm/displays/panel-dsi-cm.c
··· 25 25 #include <linux/of_device.h> 26 26 #include <linux/of_gpio.h> 27 27 28 - #include <video/omapdss.h> 29 28 #include <video/mipi_display.h> 29 + 30 + #include "../dss/omapdss.h" 30 31 31 32 /* DSI Virtual channel. Hardcoded for now. */ 32 33 #define TCH 0
+1 -1
drivers/gpu/drm/omapdrm/displays/panel-lgphilips-lb035q02.c
··· 16 16 #include <linux/mutex.h> 17 17 #include <linux/gpio.h> 18 18 19 - #include <video/omapdss.h> 19 + #include "../dss/omapdss.h" 20 20 21 21 static struct omap_video_timings lb035q02_timings = { 22 22 .x_res = 320,
+1 -1
drivers/gpu/drm/omapdrm/displays/panel-nec-nl8048hl11.c
··· 18 18 #include <linux/gpio.h> 19 19 #include <linux/of_gpio.h> 20 20 21 - #include <video/omapdss.h> 21 + #include "../dss/omapdss.h" 22 22 23 23 struct panel_drv_data { 24 24 struct omap_dss_device dssdev;
+2 -1
drivers/gpu/drm/omapdrm/displays/panel-sharp-ls037v7dw01.c
··· 17 17 #include <linux/platform_device.h> 18 18 #include <linux/slab.h> 19 19 #include <linux/regulator/consumer.h> 20 - #include <video/omapdss.h> 20 + 21 + #include "../dss/omapdss.h" 21 22 22 23 struct panel_drv_data { 23 24 struct omap_dss_device dssdev;
+2 -1
drivers/gpu/drm/omapdrm/displays/panel-sony-acx565akm.c
··· 33 33 #include <linux/of.h> 34 34 #include <linux/of_gpio.h> 35 35 36 - #include <video/omapdss.h> 37 36 #include <video/omap-panel-data.h> 37 + 38 + #include "../dss/omapdss.h" 38 39 39 40 #define MIPID_CMD_READ_DISP_ID 0x04 40 41 #define MIPID_CMD_READ_RED 0x06
+2 -1
drivers/gpu/drm/omapdrm/displays/panel-tpo-td028ttec1.c
··· 28 28 #include <linux/delay.h> 29 29 #include <linux/spi/spi.h> 30 30 #include <linux/gpio.h> 31 - #include <video/omapdss.h> 31 + 32 + #include "../dss/omapdss.h" 32 33 33 34 struct panel_drv_data { 34 35 struct omap_dss_device dssdev;
+1 -1
drivers/gpu/drm/omapdrm/displays/panel-tpo-td043mtea1.c
··· 19 19 #include <linux/slab.h> 20 20 #include <linux/of_gpio.h> 21 21 22 - #include <video/omapdss.h> 22 + #include "../dss/omapdss.h" 23 23 24 24 #define TPO_R02_MODE(x) ((x) & 7) 25 25 #define TPO_R02_MODE_800x480 7
+1 -2
drivers/gpu/drm/omapdrm/dss/core.c
··· 35 35 #include <linux/suspend.h> 36 36 #include <linux/slab.h> 37 37 38 - #include <video/omapdss.h> 39 - 38 + #include "omapdss.h" 40 39 #include "dss.h" 41 40 #include "dss_features.h" 42 41
+1 -2
drivers/gpu/drm/omapdrm/dss/dispc.c
··· 41 41 #include <linux/of.h> 42 42 #include <linux/component.h> 43 43 44 - #include <video/omapdss.h> 45 - 44 + #include "omapdss.h" 46 45 #include "dss.h" 47 46 #include "dss_features.h" 48 47 #include "dispc.h"
+1 -1
drivers/gpu/drm/omapdrm/dss/dispc_coefs.c
··· 18 18 */ 19 19 20 20 #include <linux/kernel.h> 21 - #include <video/omapdss.h> 22 21 22 + #include "omapdss.h" 23 23 #include "dispc.h" 24 24 25 25 static const struct dispc_coef coef3_M8[8] = {
+1 -1
drivers/gpu/drm/omapdrm/dss/display.c
··· 28 28 #include <linux/platform_device.h> 29 29 #include <linux/of.h> 30 30 31 - #include <video/omapdss.h> 31 + #include "omapdss.h" 32 32 #include "dss.h" 33 33 #include "dss_features.h" 34 34
+1 -2
drivers/gpu/drm/omapdrm/dss/dpi.c
··· 34 34 #include <linux/clk.h> 35 35 #include <linux/component.h> 36 36 37 - #include <video/omapdss.h> 38 - 37 + #include "omapdss.h" 39 38 #include "dss.h" 40 39 #include "dss_features.h" 41 40
+1 -1
drivers/gpu/drm/omapdrm/dss/dsi.c
··· 42 42 #include <linux/of_platform.h> 43 43 #include <linux/component.h> 44 44 45 - #include <video/omapdss.h> 46 45 #include <video/mipi_display.h> 47 46 47 + #include "omapdss.h" 48 48 #include "dss.h" 49 49 #include "dss_features.h" 50 50
+1 -2
drivers/gpu/drm/omapdrm/dss/dss-of.c
··· 18 18 #include <linux/of.h> 19 19 #include <linux/seq_file.h> 20 20 21 - #include <video/omapdss.h> 22 - 21 + #include "omapdss.h" 23 22 #include "dss.h" 24 23 25 24 struct device_node *
+1 -2
drivers/gpu/drm/omapdrm/dss/dss.c
··· 41 41 #include <linux/suspend.h> 42 42 #include <linux/component.h> 43 43 44 - #include <video/omapdss.h> 45 - 44 + #include "omapdss.h" 46 45 #include "dss.h" 47 46 #include "dss_features.h" 48 47
+1 -2
drivers/gpu/drm/omapdrm/dss/dss_features.c
··· 23 23 #include <linux/err.h> 24 24 #include <linux/slab.h> 25 25 26 - #include <video/omapdss.h> 27 - 26 + #include "omapdss.h" 28 27 #include "dss.h" 29 28 #include "dss_features.h" 30 29
+1 -1
drivers/gpu/drm/omapdrm/dss/hdmi.h
··· 23 23 #include <linux/io.h> 24 24 #include <linux/platform_device.h> 25 25 #include <linux/hdmi.h> 26 - #include <video/omapdss.h> 27 26 #include <sound/omap-hdmi-audio.h> 28 27 28 + #include "omapdss.h" 29 29 #include "dss.h" 30 30 31 31 /* HDMI Wrapper */
+1 -1
drivers/gpu/drm/omapdrm/dss/hdmi4.c
··· 33 33 #include <linux/gpio.h> 34 34 #include <linux/regulator/consumer.h> 35 35 #include <linux/component.h> 36 - #include <video/omapdss.h> 37 36 #include <sound/omap-hdmi-audio.h> 38 37 38 + #include "omapdss.h" 39 39 #include "hdmi4_core.h" 40 40 #include "dss.h" 41 41 #include "dss_features.h"
+1 -1
drivers/gpu/drm/omapdrm/dss/hdmi5.c
··· 38 38 #include <linux/gpio.h> 39 39 #include <linux/regulator/consumer.h> 40 40 #include <linux/component.h> 41 - #include <video/omapdss.h> 42 41 #include <sound/omap-hdmi-audio.h> 43 42 43 + #include "omapdss.h" 44 44 #include "hdmi5_core.h" 45 45 #include "dss.h" 46 46 #include "dss_features.h"
+1 -1
drivers/gpu/drm/omapdrm/dss/hdmi_common.c
··· 4 4 #include <linux/kernel.h> 5 5 #include <linux/err.h> 6 6 #include <linux/of.h> 7 - #include <video/omapdss.h> 8 7 8 + #include "omapdss.h" 9 9 #include "hdmi.h" 10 10 11 11 int hdmi_parse_lanes_of(struct platform_device *pdev, struct device_node *ep,
+1 -1
drivers/gpu/drm/omapdrm/dss/hdmi_phy.c
··· 13 13 #include <linux/io.h> 14 14 #include <linux/platform_device.h> 15 15 #include <linux/slab.h> 16 - #include <video/omapdss.h> 17 16 17 + #include "omapdss.h" 18 18 #include "dss.h" 19 19 #include "hdmi.h" 20 20
+1 -2
drivers/gpu/drm/omapdrm/dss/hdmi_pll.c
··· 17 17 #include <linux/platform_device.h> 18 18 #include <linux/clk.h> 19 19 20 - #include <video/omapdss.h> 21 - 20 + #include "omapdss.h" 22 21 #include "dss.h" 23 22 #include "hdmi.h" 24 23
+1 -1
drivers/gpu/drm/omapdrm/dss/hdmi_wp.c
··· 14 14 #include <linux/err.h> 15 15 #include <linux/io.h> 16 16 #include <linux/platform_device.h> 17 - #include <video/omapdss.h> 18 17 18 + #include "omapdss.h" 19 19 #include "dss.h" 20 20 #include "hdmi.h" 21 21
+1 -2
drivers/gpu/drm/omapdrm/dss/output.c
··· 21 21 #include <linux/slab.h> 22 22 #include <linux/of.h> 23 23 24 - #include <video/omapdss.h> 25 - 24 + #include "omapdss.h" 26 25 #include "dss.h" 27 26 28 27 static LIST_HEAD(output_list);
+1 -2
drivers/gpu/drm/omapdrm/dss/pll.c
··· 22 22 #include <linux/regulator/consumer.h> 23 23 #include <linux/sched.h> 24 24 25 - #include <video/omapdss.h> 26 - 25 + #include "omapdss.h" 27 26 #include "dss.h" 28 27 29 28 #define PLL_CONTROL 0x0000
+1 -1
drivers/gpu/drm/omapdrm/dss/rfbi.c
··· 38 38 #include <linux/pm_runtime.h> 39 39 #include <linux/component.h> 40 40 41 - #include <video/omapdss.h> 41 + #include "omapdss.h" 42 42 #include "dss.h" 43 43 44 44 struct rfbi_reg { u16 idx; };
+1 -1
drivers/gpu/drm/omapdrm/dss/sdi.c
··· 29 29 #include <linux/of.h> 30 30 #include <linux/component.h> 31 31 32 - #include <video/omapdss.h> 32 + #include "omapdss.h" 33 33 #include "dss.h" 34 34 35 35 static struct {
+1 -2
drivers/gpu/drm/omapdrm/dss/venc.c
··· 37 37 #include <linux/of.h> 38 38 #include <linux/component.h> 39 39 40 - #include <video/omapdss.h> 41 - 40 + #include "omapdss.h" 42 41 #include "dss.h" 43 42 #include "dss_features.h" 44 43
+1 -2
drivers/gpu/drm/omapdrm/dss/video-pll.c
··· 17 17 #include <linux/platform_device.h> 18 18 #include <linux/sched.h> 19 19 20 - #include <video/omapdss.h> 21 - 20 + #include "omapdss.h" 22 21 #include "dss.h" 23 22 #include "dss_features.h" 24 23
-1
drivers/gpu/drm/omapdrm/omap_drv.h
··· 24 24 #include <linux/platform_data/omap_drm.h> 25 25 #include <linux/types.h> 26 26 #include <linux/wait.h> 27 - #include <video/omapdss.h> 28 27 29 28 #include <drm/drmP.h> 30 29 #include <drm/drm_crtc_helper.h>