drm/nouveau/bios/init: rename nvbios_init() to nvbios_devinit()

Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
This commit is contained in:
Ben Skeggs 2017-05-19 23:59:34 +10:00
parent 7eaf1198a9
commit 4bb4a7466a
3 changed files with 3 additions and 3 deletions

View 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

View 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;

View 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