summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/nv.c
diff options
context:
space:
mode:
authorSunil Khatri <sunil.khatri@amd.com>2024-09-26 20:47:32 +0530
committerAlex Deucher <alexander.deucher@amd.com>2024-10-01 17:40:43 -0400
commit36aa9ab9c0c4a41fe334ab39951773f21709f89d (patch)
tree72a9b3e87e9b28b53c0e535fad155acd2138eac3 /drivers/gpu/drm/amd/amdgpu/nv.c
parentd5347e8d2711bb01c79698408ec189a7b7cfe45e (diff)
downloadlinux-36aa9ab9c0c4a41fe334ab39951773f21709f89d.tar.gz
linux-36aa9ab9c0c4a41fe334ab39951773f21709f89d.tar.bz2
linux-36aa9ab9c0c4a41fe334ab39951773f21709f89d.zip
drm/amdgpu: update the handle ptr in sw_fini
update the *handle to amdgpu_ip_block ptr for all functions pointers of sw_fini. Signed-off-by: Sunil Khatri <sunil.khatri@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/amdgpu/nv.c')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/nv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/nv.c b/drivers/gpu/drm/amd/amdgpu/nv.c
index 99e462d06401..8966a8b7c4ee 100644
--- a/drivers/gpu/drm/amd/amdgpu/nv.c
+++ b/drivers/gpu/drm/amd/amdgpu/nv.c
@@ -983,7 +983,7 @@ static int nv_common_sw_init(struct amdgpu_ip_block *ip_block)
return 0;
}
-static int nv_common_sw_fini(void *handle)
+static int nv_common_sw_fini(struct amdgpu_ip_block *ip_block)
{
return 0;
}