summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/radeon/radeon_kms.c
diff options
context:
space:
mode:
authorAlex Deucher <alexander.deucher@amd.com>2012-07-31 21:14:35 (GMT)
committerAlex Deucher <alexander.deucher@amd.com>2012-09-20 17:10:36 (GMT)
commitc49170742d6928b16fb3839b47a94cc41630dbe0 (patch)
tree1496b1d8e4b067d84b28af0f8d5aabb22bf12177 /drivers/gpu/drm/radeon/radeon_kms.c
parentfda4b25c55a59ba12378e4b9e4553f6ea57d802d (diff)
downloadlinux-c49170742d6928b16fb3839b47a94cc41630dbe0.tar.xz
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 8c24718..cb8e94d 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);