drm/amd/scheduler: Mark amdgpu_sched_ops const
authorNils Wallménius <nils.wallmenius@gmail.com>
Sun, 10 Apr 2016 14:30:00 +0000 (16:30 +0200)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 5 May 2016 00:20:05 +0000 (20:20 -0400)
commit62250a910a4090f88b729e04baf4369d78ba5bdc
treefac76dbe592027b5e8d7aa650a541e05fc45d5d7
parentf498d9ed26fdfa2694ef3d892f032c7dc6feba14
drm/amd/scheduler: Mark amdgpu_sched_ops const

This marks the struct amdgpu_sched_ops const and
adjusts amd_sched_init to take a const pointer
for the ops param. The ops member of
struct amd_gpu_scheduler is also changed to const.

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>
drivers/gpu/drm/amd/amdgpu/amdgpu.h
drivers/gpu/drm/amd/amdgpu/amdgpu_job.c
drivers/gpu/drm/amd/scheduler/gpu_scheduler.c
drivers/gpu/drm/amd/scheduler/gpu_scheduler.h