diff options
author | Ben Skeggs <bskeggs@redhat.com> | 2020-12-04 02:16:21 +0100 |
---|---|---|
committer | Ben Skeggs <bskeggs@redhat.com> | 2021-02-11 02:49:52 +0100 |
commit | b7a9369ae6f2da41b1d9f01a1d84e10e39bca293 (patch) | |
tree | e94c91a25c9f94ab5921d30462d3f8701d1c7567 /drivers/gpu/drm/nouveau/nvkm/subdev/fb/nv4e.c | |
parent | drm/nouveau/fault: switch to instanced constructor (diff) | |
download | linux-b7a9369ae6f2da41b1d9f01a1d84e10e39bca293.tar.xz linux-b7a9369ae6f2da41b1d9f01a1d84e10e39bca293.zip |
drm/nouveau/fb: switch to instanced constructor
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Reviewed-by: Lyude Paul <lyude@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/nouveau/nvkm/subdev/fb/nv4e.c')
-rw-r--r-- | drivers/gpu/drm/nouveau/nvkm/subdev/fb/nv4e.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/drm/nouveau/nvkm/subdev/fb/nv4e.c b/drivers/gpu/drm/nouveau/nvkm/subdev/fb/nv4e.c index 6a6f0c086071..c9f3148f4e75 100644 --- a/drivers/gpu/drm/nouveau/nvkm/subdev/fb/nv4e.c +++ b/drivers/gpu/drm/nouveau/nvkm/subdev/fb/nv4e.c @@ -37,7 +37,7 @@ nv4e_fb = { }; int -nv4e_fb_new(struct nvkm_device *device, int index, struct nvkm_fb **pfb) +nv4e_fb_new(struct nvkm_device *device, enum nvkm_subdev_type type, int inst, struct nvkm_fb **pfb) { - return nvkm_fb_new_(&nv4e_fb, device, index, pfb); + return nvkm_fb_new_(&nv4e_fb, device, type, inst, pfb); } |