aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlex Deucher <alexdeucher@gmail.com>2011-05-25 17:49:54 -0400
committerDave Airlie <airlied@redhat.com>2011-05-26 09:19:34 +1000
commit457558eda1545c22163574f6dbb883394705e9dd (patch)
tree56e2d48afe876827bb06e50f693cf1b794f4e6f2
parentcb92d452ba665205ad6bfb424c0ef009cf26587d (diff)
downloadkernel_samsung_tuna-457558eda1545c22163574f6dbb883394705e9dd.zip
kernel_samsung_tuna-457558eda1545c22163574f6dbb883394705e9dd.tar.gz
kernel_samsung_tuna-457558eda1545c22163574f6dbb883394705e9dd.tar.bz2
drm/radeon/kms: add missing case for cayman thermal sensor
The rest of the code is already in place. Signed-off-by: Alex Deucher <alexdeucher@gmail.com> Signed-off-by: Dave Airlie <airlied@redhat.com>
-rw-r--r--drivers/gpu/drm/radeon/radeon_pm.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/radeon/radeon_pm.c b/drivers/gpu/drm/radeon/radeon_pm.c
index 86eda1e..aaa19dc 100644
--- a/drivers/gpu/drm/radeon/radeon_pm.c
+++ b/drivers/gpu/drm/radeon/radeon_pm.c
@@ -487,6 +487,7 @@ static int radeon_hwmon_init(struct radeon_device *rdev)
case THERMAL_TYPE_RV6XX:
case THERMAL_TYPE_RV770:
case THERMAL_TYPE_EVERGREEN:
+ case THERMAL_TYPE_NI:
case THERMAL_TYPE_SUMO:
rdev->pm.int_hwmon_dev = hwmon_device_register(rdev->dev);
if (IS_ERR(rdev->pm.int_hwmon_dev)) {