diff options
author | Ben Skeggs <bskeggs@redhat.com> | 2013-11-15 08:20:45 +1000 |
---|---|---|
committer | Ben Skeggs <bskeggs@redhat.com> | 2013-12-04 07:14:22 +1000 |
commit | 3fe7a6f5e1d9b4646a37dfd32bb4091836c393d4 (patch) | |
tree | 53c2df7c1536c6ef6e5b6a947ffbd66ad3dec7bb | |
parent | 366d25b33a19ebc5b4522104e07197148496862a (diff) |
clk/nv04-nv30: provide an empty domain list
Reported-by: Ilia Mirkin <imirkin@alum.mit.edu>
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
-rw-r--r-- | nvkm/subdev/clock/nv04.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/nvkm/subdev/clock/nv04.c b/nvkm/subdev/clock/nv04.c index da50c1b1..30c1f3a4 100644 --- a/nvkm/subdev/clock/nv04.c +++ b/nvkm/subdev/clock/nv04.c @@ -69,6 +69,11 @@ nv04_clock_pll_prog(struct nouveau_clock *clk, u32 reg1, return 0; } +static struct nouveau_clocks +nv04_domain[] = { + { nv_clk_src_max } +}; + static int nv04_clock_ctor(struct nouveau_object *parent, struct nouveau_object *engine, struct nouveau_oclass *oclass, void *data, u32 size, @@ -77,7 +82,7 @@ nv04_clock_ctor(struct nouveau_object *parent, struct nouveau_object *engine, struct nv04_clock_priv *priv; int ret; - ret = nouveau_clock_create(parent, engine, oclass, NULL, &priv); + ret = nouveau_clock_create(parent, engine, oclass, nv04_domain, &priv); *pobject = nv_object(priv); if (ret) return ret; |