aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/nouveau/nvkm/subdev/clk/g84.c
diff options
context:
space:
mode:
authorBen Skeggs <bskeggs@redhat.com>2020-12-04 10:58:58 +1000
committerBen Skeggs <bskeggs@redhat.com>2021-02-11 11:49:52 +1000
commit98fd7f83665a9294665b700c4eb0e670c296f1be (patch)
treecb60fae3a96c68d7b95435eb85bd1c081eef6f1d /drivers/gpu/drm/nouveau/nvkm/subdev/clk/g84.c
parentdrm/nouveau/bus: switch to instanced constructor (diff)
downloadlinux-dev-98fd7f83665a9294665b700c4eb0e670c296f1be.tar.xz
linux-dev-98fd7f83665a9294665b700c4eb0e670c296f1be.zip
drm/nouveau/clk: 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/clk/g84.c')
-rw-r--r--drivers/gpu/drm/nouveau/nvkm/subdev/clk/g84.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/gpu/drm/nouveau/nvkm/subdev/clk/g84.c b/drivers/gpu/drm/nouveau/nvkm/subdev/clk/g84.c
index f97e3ec196bb..07157cf53c9e 100644
--- a/drivers/gpu/drm/nouveau/nvkm/subdev/clk/g84.c
+++ b/drivers/gpu/drm/nouveau/nvkm/subdev/clk/g84.c
@@ -41,8 +41,8 @@ g84_clk = {
};
int
-g84_clk_new(struct nvkm_device *device, int index, struct nvkm_clk **pclk)
+g84_clk_new(struct nvkm_device *device, enum nvkm_subdev_type type, int inst,
+ struct nvkm_clk **pclk)
{
- return nv50_clk_new_(&g84_clk, device, index,
- (device->chipset >= 0x94), pclk);
+ return nv50_clk_new_(&g84_clk, device, type, inst, (device->chipset >= 0x94), pclk);
}