aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/pm/inc/amdgpu_pm.h
diff options
context:
space:
mode:
authorNirmoy Das <[email protected]>2021-02-14 20:56:55 +0000
committerAlex Deucher <[email protected]>2021-02-18 21:43:09 +0000
commit373720f79d56697f0f63cbda50111d6eb6dbad2f (patch)
tree173ceee8fa45014edba50b58db8845c47eb75681 /drivers/gpu/drm/amd/pm/inc/amdgpu_pm.h
parentdrm/amd/display: do not use drm middle layer for debugfs (diff)
downloadkernel-373720f79d56697f0f63cbda50111d6eb6dbad2f.tar.gz
kernel-373720f79d56697f0f63cbda50111d6eb6dbad2f.zip
drm/amd/pm: do not use drm middle layer for debugfs
Use debugfs API directly instead of drm middle layer. v2: * checkpatch.pl: use '0444' instead of S_IRUGO. * remove S_IFREG from mode. * remove mode variable. Signed-off-by: Nirmoy Das <[email protected]> Reviewed-by: Christian König <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/pm/inc/amdgpu_pm.h')
-rw-r--r--drivers/gpu/drm/amd/pm/inc/amdgpu_pm.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/pm/inc/amdgpu_pm.h b/drivers/gpu/drm/amd/pm/inc/amdgpu_pm.h
index 45a22e101d15..a920515e2274 100644
--- a/drivers/gpu/drm/amd/pm/inc/amdgpu_pm.h
+++ b/drivers/gpu/drm/amd/pm/inc/amdgpu_pm.h
@@ -84,6 +84,6 @@ int amdgpu_pm_virt_sysfs_init(struct amdgpu_device *adev);
void amdgpu_pm_sysfs_fini(struct amdgpu_device *adev);
void amdgpu_pm_virt_sysfs_fini(struct amdgpu_device *adev);
-int amdgpu_debugfs_pm_init(struct amdgpu_device *adev);
+void amdgpu_debugfs_pm_init(struct amdgpu_device *adev);
#endif