aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorTomi Valkeinen <tomi.valkeinen@ti.com>2018-03-14 04:24:43 -0400
committerTomi Valkeinen <tomi.valkeinen@ti.com>2018-03-14 04:39:50 -0400
commit037f03155b7d87e85168b4296516bfda5c9f6380 (patch)
tree0a82c92ce7b14c57773758995538c67d8c961360 /drivers
parent83df2d4ed559442cdb5a1364c69aef3e682dceb0 (diff)
drm/omap: fix compile error when DPI is disabled
When CONFIG_OMAP2_DSS_DPI is disabled, compilation fails due to: drivers/gpu/drm/omapdrm/dss/dss.h:388:25: error: conflicting types for ‘port’ struct device_node *port, ^~~~ Fix this by renaming the first parameter correctly. Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/gpu/drm/omapdrm/dss/dss.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/omapdrm/dss/dss.h b/drivers/gpu/drm/omapdrm/dss/dss.h
index c601ed9a09c2..847c78ade024 100644
--- a/drivers/gpu/drm/omapdrm/dss/dss.h
+++ b/drivers/gpu/drm/omapdrm/dss/dss.h
@@ -383,7 +383,7 @@ int dpi_init_port(struct dss_device *dss, struct platform_device *pdev,
383 struct device_node *port, enum dss_model dss_model); 383 struct device_node *port, enum dss_model dss_model);
384void dpi_uninit_port(struct device_node *port); 384void dpi_uninit_port(struct device_node *port);
385#else 385#else
386static inline int dpi_init_port(struct dss_device *port, 386static inline int dpi_init_port(struct dss_device *dss,
387 struct platform_device *pdev, 387 struct platform_device *pdev,
388 struct device_node *port, 388 struct device_node *port,
389 enum dss_model dss_model) 389 enum dss_model dss_model)