1. 29 9月, 2009 2 次提交
    • M
      drm: fix radeon DRM warnings when !CONFIG_DEBUG_FS · f4e45d02
      Mikael Pettersson 提交于
      Compiling the radeon DRM driver with !CONFIG_DEBUG_FS
      throws the following warnings:
      
      drivers/gpu/drm/radeon/radeon_ttm.c: In function 'radeon_ttm_debugfs_init':
      drivers/gpu/drm/radeon/radeon_ttm.c:714: warning: unused variable 'i'
      drivers/gpu/drm/radeon/radeon_ttm.c: At top level:
      drivers/gpu/drm/radeon/radeon_ttm.c:692: warning: 'radeon_mem_types_list' defined but not used
      drivers/gpu/drm/radeon/radeon_ttm.c:693: warning: 'radeon_mem_types_names' defined but not used
      
      Fix: move these variables inside the #if defined(CONFIG_DEBUG_FS)
      block in radeon_ttm_debugsfs_init(), which is the only place using them.
      Signed-off-by: NMikael Pettersson <mikpe@it.uu.se>
      Signed-off-by: NDave Airlie <airlied@linux.ie>
      f4e45d02
    • M
      drm: fix drm_fb_helper warning when !CONFIG_MAGIC_SYSRQ · bea1d35b
      Mikael Pettersson 提交于
      Compiling DRM throws the following warning if MAGIC_SYSRQ is disabled:
      
      drivers/gpu/drm/drm_fb_helper.c:101: warning: 'sysrq_drm_fb_helper_restore_op' defined but not used
      
      Fix: place sysrq_drm_fb_helper_restore_op and associated
      definitions inside #ifdef CONFIG_MAGIC_SYSRQ.
      Signed-off-by: NMikael Pettersson <mikpe@it.uu.se>
      Signed-off-by: NDave Airlie <airlied@linux.ie>
      bea1d35b
  2. 28 9月, 2009 2 次提交
  3. 26 9月, 2009 7 次提交
  4. 25 9月, 2009 8 次提交
  5. 24 9月, 2009 4 次提交
  6. 23 9月, 2009 2 次提交
  7. 21 9月, 2009 4 次提交
  8. 18 9月, 2009 11 次提交