diff options
author | Alex Deucher <alexander.deucher@amd.com> | 2015-10-23 10:38:52 -0400 |
---|---|---|
committer | Sasha Levin <sasha.levin@oracle.com> | 2015-11-15 12:51:49 -0500 |
commit | 0a1bf5fd80e14a2396c6991d78b544ece3edf488 (patch) | |
tree | 1feff7ebcaf5672b1456460143b8b5d3915c6f35 /drivers/gpu/drm/radeon/radeon.h | |
parent | 84d503cd91797a48e0ccda9dc3cc3c378184149d (diff) | |
download | lwn-0a1bf5fd80e14a2396c6991d78b544ece3edf488.tar.gz lwn-0a1bf5fd80e14a2396c6991d78b544ece3edf488.zip |
drm/radeon: don't try to recreate sysfs entries on resume
[ Upstream commit 49abb26651167c892393cd9f2ad23df429645ed9 ]
Fixes a harmless error message caused by:
51a4726b04e880fdd9b4e0e58b13f70b0a68a7f5
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Cc: stable@vger.kernel.org
Signed-off-by: Sasha Levin <sasha.levin@oracle.com>
Diffstat (limited to 'drivers/gpu/drm/radeon/radeon.h')
-rw-r--r-- | drivers/gpu/drm/radeon/radeon.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/radeon/radeon.h b/drivers/gpu/drm/radeon/radeon.h index d6f0e40db81d..ee38f9aba391 100644 --- a/drivers/gpu/drm/radeon/radeon.h +++ b/drivers/gpu/drm/radeon/radeon.h @@ -1628,6 +1628,7 @@ struct radeon_pm { struct device *int_hwmon_dev; /* dpm */ bool dpm_enabled; + bool sysfs_initialized; struct radeon_dpm dpm; }; |