summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/nouveau/nvkm/subdev/bar/priv.h
diff options
context:
space:
mode:
authorBen Skeggs2015-08-20 06:54:06 +0200
committerBen Skeggs2015-08-28 04:40:07 +0200
commit5b0c189fcb232daa1cabac8892e42cdee57254bd (patch)
treee1f3ba792c9aa032af8d77c3e38c1a8070194988 /drivers/gpu/drm/nouveau/nvkm/subdev/bar/priv.h
parentdrm/nouveau/device: include core/device.h automatically for subdevs/engines (diff)
downloadkernel-qcow2-linux-5b0c189fcb232daa1cabac8892e42cdee57254bd.tar.gz
kernel-qcow2-linux-5b0c189fcb232daa1cabac8892e42cdee57254bd.tar.xz
kernel-qcow2-linux-5b0c189fcb232daa1cabac8892e42cdee57254bd.zip
drm/nouveau/bar: 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/nvkm/subdev/bar/priv.h')
-rw-r--r--drivers/gpu/drm/nouveau/nvkm/subdev/bar/priv.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/drm/nouveau/nvkm/subdev/bar/priv.h b/drivers/gpu/drm/nouveau/nvkm/subdev/bar/priv.h
index aa85f61b48c2..e6e4dfc97dcc 100644
--- a/drivers/gpu/drm/nouveau/nvkm/subdev/bar/priv.h
+++ b/drivers/gpu/drm/nouveau/nvkm/subdev/bar/priv.h
@@ -5,9 +5,9 @@
#define nvkm_bar_create(p,e,o,d) \
nvkm_bar_create_((p), (e), (o), sizeof(**d), (void **)d)
#define nvkm_bar_init(p) \
- nvkm_subdev_init(&(p)->base)
+ nvkm_subdev_init(&(p)->subdev)
#define nvkm_bar_fini(p,s) \
- nvkm_subdev_fini(&(p)->base, (s))
+ nvkm_subdev_fini(&(p)->subdev, (s))
int nvkm_bar_create_(struct nvkm_object *, struct nvkm_object *,
struct nvkm_oclass *, int, void **);