]> 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)
commitfda2e94fcdb1ca0117cf2fa40c61bfa87afdffdf
tree0a82c92ce7b14c57773758995538c67d8c961360
parent4133c2c2a09e2ef1708e930bf2f324cbba026da3
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