diff options
author | Ben Skeggs <bskeggs@redhat.com> | 2020-12-04 03:28:41 +0100 |
---|---|---|
committer | Ben Skeggs <bskeggs@redhat.com> | 2021-02-11 02:49:54 +0100 |
commit | 1fc2fddfbc8c6908451c06025b992e228a65bfba (patch) | |
tree | 563c20682d69f6fe74b3dd7c8c7f27abdff261d9 /drivers/gpu/drm/nouveau/nvkm/subdev/mc/nv17.c | |
parent | drm/nouveau/top: expose parsed device info more directly (diff) | |
download | linux-1fc2fddfbc8c6908451c06025b992e228a65bfba.tar.xz linux-1fc2fddfbc8c6908451c06025b992e228a65bfba.zip |
drm/nouveau/mc: 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/mc/nv17.c')
-rw-r--r-- | drivers/gpu/drm/nouveau/nvkm/subdev/mc/nv17.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/drm/nouveau/nvkm/subdev/mc/nv17.c b/drivers/gpu/drm/nouveau/nvkm/subdev/mc/nv17.c index 64bf5bbf8146..03d756e26e57 100644 --- a/drivers/gpu/drm/nouveau/nvkm/subdev/mc/nv17.c +++ b/drivers/gpu/drm/nouveau/nvkm/subdev/mc/nv17.c @@ -53,7 +53,7 @@ nv17_mc = { }; int -nv17_mc_new(struct nvkm_device *device, int index, struct nvkm_mc **pmc) +nv17_mc_new(struct nvkm_device *device, enum nvkm_subdev_type type, int inst, struct nvkm_mc **pmc) { - return nvkm_mc_new_(&nv17_mc, device, index, pmc); + return nvkm_mc_new_(&nv17_mc, device, type, inst, pmc); } |