summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/nouveau/nvkm/subdev/bios/base.c
diff options
context:
space:
mode:
authorBen Skeggs <bskeggs@redhat.com>2015-08-20 07:54:06 +0300
committerBen Skeggs <bskeggs@redhat.com>2015-08-28 05:40:07 +0300
commita00014e3963642e7cf7206a9fa814b547d642a72 (patch)
tree7175ec336ef2c45d6697d4e07ccfe35c9d7b4db2 /drivers/gpu/drm/nouveau/nvkm/subdev/bios/base.c
parent5b0c189fcb232daa1cabac8892e42cdee57254bd (diff)
downloadlinux-a00014e3963642e7cf7206a9fa814b547d642a72.tar.xz
drm/nouveau/bios: 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/bios/base.c')
-rw-r--r--drivers/gpu/drm/nouveau/nvkm/subdev/bios/base.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/gpu/drm/nouveau/nvkm/subdev/bios/base.c b/drivers/gpu/drm/nouveau/nvkm/subdev/bios/base.c
index 8db204f92ed3..0cd9ab4ed8ee 100644
--- a/drivers/gpu/drm/nouveau/nvkm/subdev/bios/base.c
+++ b/drivers/gpu/drm/nouveau/nvkm/subdev/bios/base.c
@@ -171,21 +171,21 @@ nvkm_bios_dtor(struct nvkm_object *object)
{
struct nvkm_bios *bios = (void *)object;
kfree(bios->data);
- nvkm_subdev_destroy(&bios->base);
+ nvkm_subdev_destroy(&bios->subdev);
}
static int
nvkm_bios_init(struct nvkm_object *object)
{
struct nvkm_bios *bios = (void *)object;
- return nvkm_subdev_init(&bios->base);
+ return nvkm_subdev_init(&bios->subdev);
}
static int
nvkm_bios_fini(struct nvkm_object *object, bool suspend)
{
struct nvkm_bios *bios = (void *)object;
- return nvkm_subdev_fini(&bios->base, suspend);
+ return nvkm_subdev_fini(&bios->subdev, suspend);
}
struct nvkm_oclass