]> git.baikalelectronics.ru Git - kernel.git/commit
drm/omap: fix compile error when DPI is disabled
authorTomi Valkeinen <tomi.valkeinen@ti.com>
Wed, 14 Mar 2018 08:24:43 +0000 (10:24 +0200)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Wed, 14 Mar 2018 08:39:50 +0000 (10:39 +0200)
commit405d537da6bf7a269174e66f6149fd6ddeeb5f38
tree0a82c92ce7b14c57773758995538c67d8c961360
parentdb3e87768d28bfe4cbdda16daaba78c57fa7dc1f
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>
drivers/gpu/drm/omapdrm/dss/dss.h