]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commita9a633a2eeeeacf77bcdee85f353bfdb73517826
treedf3499a679f3d045a7badfe3a89c9d653ee070cb
parent4b61df73a1d26f1044eda81840df8204214c8383
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