drm/radeon: fix debugfs handling v3
authorChristian König <deathsimple@vodafone.de>
Mon, 24 Oct 2011 12:54:54 +0000 (14:54 +0200)
committerDave Airlie <airlied@redhat.com>
Tue, 20 Dec 2011 19:28:05 +0000 (19:28 +0000)
commit4d8bf9aee1d8af93748096eb8992e4bb03d3fee0
treedf3499a679f3d045a7badfe3a89c9d653ee070cb
parente2e022ec51a7e85ce4352a53fde1cd11d58e151a
drm/radeon: fix debugfs handling v3

Having registered debugfs files globally causes
the files to not show up on the second, third
etc.. card in the system.

v2: fix crash on module unloading
v3: fix space indentation

Signed-off-by: Christian König <deathsimple@vodafone.de>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Reviewed-by: Jerome Glisse <jglisse@redhat.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/radeon/radeon.h
drivers/gpu/drm/radeon/radeon_device.c