summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_debugfs.h
diff options
context:
space:
mode:
authorNirmoy Das <nirmoy.das@amd.com>2021-02-14 21:26:45 +0100
committerAlex Deucher <alexander.deucher@amd.com>2021-02-18 16:43:09 -0500
commitafd3a359c452c5ee529a6b1d660ebf1176765463 (patch)
tree43b0f35d2c21a4451741672d363153f89e47972f /drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_debugfs.h
parent0299bef975d6683824c5769075e7106a39d96b84 (diff)
downloadlinux-afd3a359c452c5ee529a6b1d660ebf1176765463.tar.gz
linux-afd3a359c452c5ee529a6b1d660ebf1176765463.tar.bz2
linux-afd3a359c452c5ee529a6b1d660ebf1176765463.zip
drm/amd/display: 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 <nirmoy.das@amd.com> Reviewed-by: Christian König <christian.koenig@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_debugfs.h')
-rw-r--r--drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_debugfs.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_debugfs.h b/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_debugfs.h
index 5e5b2b2afa31..32f85c2b608f 100644
--- a/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_debugfs.h
+++ b/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_debugfs.h
@@ -30,6 +30,6 @@
#include "amdgpu_dm.h"
void connector_debugfs_init(struct amdgpu_dm_connector *connector);
-int dtn_debugfs_init(struct amdgpu_device *adev);
+void dtn_debugfs_init(struct amdgpu_device *adev);
#endif