summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/nouveau/nvkm/subdev/clk/priv.h
diff options
context:
space:
mode:
authorBen Skeggs <bskeggs@redhat.com>2020-12-04 03:58:58 +0300
committerBen Skeggs <bskeggs@redhat.com>2021-02-11 04:49:52 +0300
commit98fd7f83665a9294665b700c4eb0e670c296f1be (patch)
treecb60fae3a96c68d7b95435eb85bd1c081eef6f1d /drivers/gpu/drm/nouveau/nvkm/subdev/clk/priv.h
parentd37766e560c9a8cf4fd428da8d2a0cbe9ad2c2d4 (diff)
downloadlinux-98fd7f83665a9294665b700c4eb0e670c296f1be.tar.xz
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/priv.h')
-rw-r--r--drivers/gpu/drm/nouveau/nvkm/subdev/clk/priv.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/drm/nouveau/nvkm/subdev/clk/priv.h b/drivers/gpu/drm/nouveau/nvkm/subdev/clk/priv.h
index 81dfb37480ae..810cc572cd30 100644
--- a/drivers/gpu/drm/nouveau/nvkm/subdev/clk/priv.h
+++ b/drivers/gpu/drm/nouveau/nvkm/subdev/clk/priv.h
@@ -16,9 +16,9 @@ struct nvkm_clk_func {
struct nvkm_domain domains[];
};
-int nvkm_clk_ctor(const struct nvkm_clk_func *, struct nvkm_device *, int,
+int nvkm_clk_ctor(const struct nvkm_clk_func *, struct nvkm_device *, enum nvkm_subdev_type, int,
bool allow_reclock, struct nvkm_clk *);
-int nvkm_clk_new_(const struct nvkm_clk_func *, struct nvkm_device *, int,
+int nvkm_clk_new_(const struct nvkm_clk_func *, struct nvkm_device *, enum nvkm_subdev_type, int,
bool allow_reclock, struct nvkm_clk **);
int nv04_clk_pll_calc(struct nvkm_clk *, struct nvbios_pll *, int clk,