]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
drm/amdgpu: fix non-ANSI declaration of amdgpu_amdkfd_gfx_*_get_functions()
authorColin Ian King <colin.king@canonical.com>
Fri, 22 Jan 2016 17:35:26 +0000 (17:35 +0000)
committerOded Gabbay <oded.gabbay@gmail.com>
Thu, 28 Jan 2016 12:39:34 +0000 (14:39 +0200)
commitf785d98711925aceb198fb96abd786fd19fad657
treeefd36344327fe5884f19a52daf3fd5df4d35e989
parent92e963f50fc74041b5e9e744c330dca48e04f08d
drm/amdgpu: fix non-ANSI declaration of amdgpu_amdkfd_gfx_*_get_functions()

amdgpu_amdkfd_gfx_7_get_functions and amdgpu_amdkfd_gfx_8_0_get_functions
have no parameters, so use the normal void parameter convention to make
them  match their prototypes in the header file
drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd.h

Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Oded Gabbay <oded.gabbay@gmail.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gfx_v7.c
drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gfx_v8.c