drm/nouveau/bios/init: rename nvbios_init() to nvbios_devinit()
authorBen Skeggs <bskeggs@redhat.com>
Fri, 19 May 2017 13:59:34 +0000 (23:59 +1000)
committerBen Skeggs <bskeggs@redhat.com>
Fri, 16 Jun 2017 04:04:42 +0000 (14:04 +1000)
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/include/nvkm/subdev/bios/init.h
drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c
drivers/gpu/drm/nouveau/nvkm/subdev/devinit/nv04.c

index 4dc1c8af840c4e9c4975e6a80124b13af3c6467a..98aa9ece0dc5d8d36879ae8febf6a0080ee9fb6b 100644 (file)
@@ -17,5 +17,5 @@ struct nvbios_init {
 };
 
 int nvbios_exec(struct nvbios_init *);
-int nvbios_init(struct nvkm_subdev *, bool execute);
+int nvbios_post(struct nvkm_subdev *, bool execute);
 #endif
index 38ed09fd3d2f0c22ef37868a8991f20f7df05bce..1d5f29a5c07c4264a7b5c23c2090b397d9b02af5 100644 (file)
@@ -2290,7 +2290,7 @@ nvbios_exec(struct nvbios_init *init)
 }
 
 int
-nvbios_init(struct nvkm_subdev *subdev, bool execute)
+nvbios_post(struct nvkm_subdev *subdev, bool execute)
 {
        struct nvkm_bios *bios = subdev->device->bios;
        int ret = 0;
index c8d455346fcda6877f99bb33a4e7048e063dd9c6..158977f8a6e6f35f1de5c0579def5d36883ed141 100644 (file)
@@ -393,7 +393,7 @@ nv04_devinit_pll_set(struct nvkm_devinit *devinit, u32 type, u32 freq)
 int
 nv04_devinit_post(struct nvkm_devinit *init, bool execute)
 {
-       return nvbios_init(&init->subdev, execute);
+       return nvbios_post(&init->subdev, execute);
 }
 
 void