summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c
diff options
context:
space:
mode:
authorNils Wallménius <nils.wallmenius@gmail.com>2016-05-02 12:46:15 -0400
committerAlex Deucher <alexander.deucher@amd.com>2016-05-04 20:20:10 -0400
commit06ab6832ac06c77332e3b0415977acf68ea364cf (patch)
treeb40e6011af74c5c1da7ce91305235b1b0139d22a /drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c
parent62250a910a4090f88b729e04baf4369d78ba5bdc (diff)
downloadop-kernel-dev-06ab6832ac06c77332e3b0415977acf68ea364cf.zip
op-kernel-dev-06ab6832ac06c77332e3b0415977acf68ea364cf.tar.gz
drm/amdgpu: Mark all instances of struct drm_info_list as const
All these are compile time constand and the drm_debugfs_create/remove_files functions take a const pointer argument. Reviewed-by: Christian König <christian.koenig@amd.com> Signed-off-by: Nils Wallménius <nils.wallmenius@gmail.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c2
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 ff9597c..6d44d4a 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c
@@ -1212,7 +1212,7 @@ static int amdgpu_debugfs_pm_info(struct seq_file *m, void *data)
return 0;
}
-static struct drm_info_list amdgpu_pm_info_list[] = {
+static const struct drm_info_list amdgpu_pm_info_list[] = {
{"amdgpu_pm_info", amdgpu_debugfs_pm_info, 0, NULL},
};
#endif
OpenPOWER on IntegriCloud