drm/radeon: add pm sysfs files late

commit 51a4726b04 upstream.

They were added relatively early in the driver init process
which meant that in some cases the driver was not finished
initializing before external tools tried to use them which
could result in a crash depending on the timing.

Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Alex Deucher 2015-09-30 16:45:52 -04:00 • committed by Greg Kroah-Hartman
commit 4e4887f08f
2 changed files with 40 additions and 37 deletions