Skip to content

Commit 037f031

Browse files
committed
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 <[email protected]>
1 parent 83df2d4 commit 037f031

File tree

1 file changed

+1
-1
lines changed
  • drivers/gpu/drm/omapdrm/dss

1 file changed

+1
-1
lines changed

drivers/gpu/drm/omapdrm/dss/dss.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -383,7 +383,7 @@ int dpi_init_port(struct dss_device *dss, struct platform_device *pdev,
383383
struct device_node *port, enum dss_model dss_model);
384384
void dpi_uninit_port(struct device_node *port);
385385
#else
386-
static inline int dpi_init_port(struct dss_device *port,
386+
static inline int dpi_init_port(struct dss_device *dss,
387387
struct platform_device *pdev,
388388
struct device_node *port,
389389
enum dss_model dss_model)

0 commit comments

Comments
 (0)