Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 037f0315 authored by Tomi Valkeinen's avatar Tomi Valkeinen
Browse files

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: default avatarTomi Valkeinen <tomi.valkeinen@ti.com>
parent 83df2d4e
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -383,7 +383,7 @@ int dpi_init_port(struct dss_device *dss, struct platform_device *pdev,
		  struct device_node *port, enum dss_model dss_model);
void dpi_uninit_port(struct device_node *port);
#else
static inline int dpi_init_port(struct dss_device *port,
static inline int dpi_init_port(struct dss_device *dss,
				struct platform_device *pdev,
				struct device_node *port,
				enum dss_model dss_model)