diff options
author | Ben Skeggs <bskeggs@redhat.com> | 2015-08-20 06:54:06 +0200 |
---|---|---|
committer | Ben Skeggs <bskeggs@redhat.com> | 2015-08-28 04:40:07 +0200 |
commit | 3eca809b3c05ea6918c1d13da478abdae5e712ba (patch) | |
tree | 3c4a360d7c3b043d38c5d3880775e717fa2fcd77 /drivers/gpu/drm/nouveau/include/nvkm/subdev/clk.h | |
parent | drm/nouveau/bus: cosmetic changes (diff) | |
download | linux-3eca809b3c05ea6918c1d13da478abdae5e712ba.tar.xz linux-3eca809b3c05ea6918c1d13da478abdae5e712ba.zip |
drm/nouveau/clk: cosmetic changes
This is purely preparation for upcoming commits, there should be no
code changes here.
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/nouveau/include/nvkm/subdev/clk.h')
-rw-r--r-- | drivers/gpu/drm/nouveau/include/nvkm/subdev/clk.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/drivers/gpu/drm/nouveau/include/nvkm/subdev/clk.h b/drivers/gpu/drm/nouveau/include/nvkm/subdev/clk.h index f5d303850d8c..5c982401e142 100644 --- a/drivers/gpu/drm/nouveau/include/nvkm/subdev/clk.h +++ b/drivers/gpu/drm/nouveau/include/nvkm/subdev/clk.h @@ -71,7 +71,7 @@ struct nvkm_domain { }; struct nvkm_clk { - struct nvkm_subdev base; + struct nvkm_subdev subdev; struct nvkm_domain *domains; struct nvkm_pstate bstate; @@ -117,16 +117,16 @@ nvkm_clk(void *obj) nvkm_clk_create_((p), (e), (o), (i), (r), (s), (n), sizeof(**d), \ (void **)d) #define nvkm_clk_destroy(p) ({ \ - struct nvkm_clk *clk = (p); \ - _nvkm_clk_dtor(nv_object(clk)); \ + struct nvkm_clk *_clk = (p); \ + _nvkm_clk_dtor(nv_object(_clk)); \ }) #define nvkm_clk_init(p) ({ \ - struct nvkm_clk *clk = (p); \ - _nvkm_clk_init(nv_object(clk)); \ + struct nvkm_clk *_clk = (p); \ + _nvkm_clk_init(nv_object(_clk)); \ }) #define nvkm_clk_fini(p,s) ({ \ - struct nvkm_clk *clk = (p); \ - _nvkm_clk_fini(nv_object(clk), (s)); \ + struct nvkm_clk *_clk = (p); \ + _nvkm_clk_fini(nv_object(_clk), (s)); \ }) int nvkm_clk_create_(struct nvkm_object *, struct nvkm_object *, |