mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 10:41:38 -04:00
drm/nv04-nv30/clk: provide an empty domain list
Reported-by: Ilia Mirkin <[email protected]> Signed-off-by: Ben Skeggs <[email protected]>
This commit is contained in:
parent
d2c7ab32ce
commit
5b19f4f9bd
1 changed files with 6 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue