diff options
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c')
| -rw-r--r-- | drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c index 632b18670098..361975cf45a9 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c @@ -1154,7 +1154,7 @@ static umode_t hwmon_attributes_visible(struct kobject *kobj,  	umode_t effective_mode = attr->mode;  	/* handle non-powerplay limitations */ -	if (!adev->powerplay.cgs_device) { +	if (!adev->powerplay.pp_handle) {  		/* Skip fan attributes if fan is not present */  		if (adev->pm.no_fan &&  		    (attr == &sensor_dev_attr_pwm1.dev_attr.attr || | 
