summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/radeon/radeon_kms.c
diff options
context:
space:
mode:
authorAlex Deucher <alexander.deucher@amd.com>2012-07-31 17:14:35 -0400
committerAlex Deucher <alexander.deucher@amd.com>2012-09-20 13:10:36 -0400
commitc49170742d6928b16fb3839b47a94cc41630dbe0 (patch)
tree1496b1d8e4b067d84b28af0f8d5aabb22bf12177 /drivers/gpu/drm/radeon/radeon_kms.c
parentfda4b25c55a59ba12378e4b9e4553f6ea57d802d (diff)
downloadblackbird-op-linux-c49170742d6928b16fb3839b47a94cc41630dbe0.tar.gz
blackbird-op-linux-c49170742d6928b16fb3839b47a94cc41630dbe0.zip
drm/radeon: re-organize the acpi notifier callback
Move it out of the radeon_pm.c and into radeon_acpi.c since we use it for more than just pm now. Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/radeon/radeon_kms.c')
-rw-r--r--drivers/gpu/drm/radeon/radeon_kms.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/radeon/radeon_kms.c b/drivers/gpu/drm/radeon/radeon_kms.c
index 8c2471854cd7..cb8e94d1a2b2 100644
--- a/drivers/gpu/drm/radeon/radeon_kms.c
+++ b/drivers/gpu/drm/radeon/radeon_kms.c
@@ -51,6 +51,7 @@ int radeon_driver_unload_kms(struct drm_device *dev)
if (rdev == NULL)
return 0;
+ radeon_acpi_fini(rdev);
radeon_modeset_fini(rdev);
radeon_device_fini(rdev);
kfree(rdev);
OpenPOWER on IntegriCloud