1. 14 Mar, 2018 2 commits
    • Tomi Valkeinen's avatar
      drm/omap: fix compile error when DPI is disabled · 037f0315
      Tomi Valkeinen authored
      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>
      037f0315
    • Tomi Valkeinen's avatar
      drm/omap: fix compile error when debugfs is disabled · 83df2d4e
      Tomi Valkeinen authored
      When compiling with CONFIG_OMAP2_DSS_DEBUGFS disabled, build fails due
      to:
      
      drivers/gpu/drm/omapdrm/dss/dss.c:1474:10: error: ‘dss_debug_dump_clocks’ undeclared (first use in this function); did you mean ‘dispc_dump_clocks’?
                dss_debug_dump_clocks, dss);
                ^~~~~~~~~~~~~~~~~~~~~
                dispc_dump_clocks
      
      Fix this by moving the required functions outside #if
      defined(CONFIG_OMAP2_DSS_DEBUGFS).
      
      In the long term, we perhaps want to try to get all the debugfs support
      left out if debugfs is not enabled.
      Signed-off-by: default avatarTomi Valkeinen <tomi.valkeinen@ti.com>
      83df2d4e
  2. 02 Mar, 2018 1 commit
  3. 01 Mar, 2018 37 commits