diff options
author | Ben Skeggs <bskeggs@redhat.com> | 2020-12-04 05:49:36 +0300 |
---|---|---|
committer | Ben Skeggs <bskeggs@redhat.com> | 2021-02-11 04:49:55 +0300 |
commit | 0aec69c76ec9e20bdefcd6a8eca4277372abef13 (patch) | |
tree | 6652176b59d715ac62aef916a2bcdbf4941a0008 /drivers/gpu/drm/nouveau/nvkm/subdev/therm/gf119.c | |
parent | e4b15b4ca08198b20eccf4f5f49e1dd9913eebd0 (diff) | |
download | linux-0aec69c76ec9e20bdefcd6a8eca4277372abef13.tar.xz |
drm/nouveau/therm: 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/therm/gf119.c')
-rw-r--r-- | drivers/gpu/drm/nouveau/nvkm/subdev/therm/gf119.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/gpu/drm/nouveau/nvkm/subdev/therm/gf119.c b/drivers/gpu/drm/nouveau/nvkm/subdev/therm/gf119.c index 0981b02790e2..2b031d4eaeb6 100644 --- a/drivers/gpu/drm/nouveau/nvkm/subdev/therm/gf119.c +++ b/drivers/gpu/drm/nouveau/nvkm/subdev/therm/gf119.c @@ -146,8 +146,8 @@ gf119_therm = { }; int -gf119_therm_new(struct nvkm_device *device, int index, - struct nvkm_therm **ptherm) +gf119_therm_new(struct nvkm_device *device, enum nvkm_subdev_type type, int inst, + struct nvkm_therm **ptherm) { - return nvkm_therm_new_(&gf119_therm, device, index, ptherm); + return nvkm_therm_new_(&gf119_therm, device, type, inst, ptherm); } |