summaryrefslogtreecommitdiffstats
path: root/drivers/ssb
diff options
context:
space:
mode:
authorMikael Pettersson <mikpe@it.uu.se>2009-09-28 18:27:23 +0200
committerDave Airlie <airlied@linux.ie>2009-09-29 11:15:44 +1000
commitf4e45d02e4135043fe98bc21be38527c516ad990 (patch)
treefd09769811a315db64967292c288313096e70051 /drivers/ssb
parentbea1d35b8e1533ac493305b3efe04a4b7def8a7f (diff)
downloadop-kernel-dev-f4e45d02e4135043fe98bc21be38527c516ad990.zip
op-kernel-dev-f4e45d02e4135043fe98bc21be38527c516ad990.tar.gz
drm: fix radeon DRM warnings when !CONFIG_DEBUG_FS
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: Mikael Pettersson <mikpe@it.uu.se> Signed-off-by: Dave Airlie <airlied@linux.ie>
Diffstat (limited to 'drivers/ssb')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud