summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/radeon/radeon.h
diff options
context:
space:
mode:
authorAlex Deucher <alexander.deucher@amd.com>2015-10-23 17:38:52 +0300
committerAlex Deucher <alexander.deucher@amd.com>2015-10-23 17:38:52 +0300
commit49abb26651167c892393cd9f2ad23df429645ed9 (patch)
tree8d91c023ee035368e036ae3662d382609dcdacf5 /drivers/gpu/drm/radeon/radeon.h
parent5c92d87d30b23844e6998d8318e4c19ee3a907ac (diff)
downloadlinux-49abb26651167c892393cd9f2ad23df429645ed9.tar.xz
drm/radeon: don't try to recreate sysfs entries on resume
Fixes a harmless error message caused by: 51a4726b04e880fdd9b4e0e58b13f70b0a68a7f5 Signed-off-by: Alex Deucher <alexander.deucher@amd.com> Cc: stable@vger.kernel.org
Diffstat (limited to 'drivers/gpu/drm/radeon/radeon.h')
-rw-r--r--drivers/gpu/drm/radeon/radeon.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/radeon/radeon.h b/drivers/gpu/drm/radeon/radeon.h
index f03b7eb15233..b6cbd816537e 100644
--- a/drivers/gpu/drm/radeon/radeon.h
+++ b/drivers/gpu/drm/radeon/radeon.h
@@ -1658,6 +1658,7 @@ struct radeon_pm {
u8 fan_max_rpm;
/* dpm */
bool dpm_enabled;
+ bool sysfs_initialized;
struct radeon_dpm dpm;
};