mirror of
https://github.com/torvalds/linux.git
synced 2026-04-28 03:22:27 -04:00
drm/nouveau/secboot: rename init() hook to oneinit()
The init() hook is called by the subdev's oneinit(). Rename it accordingly to avoid confusion about the lifetime of objects allocated in it. Signed-off-by: Alexandre Courbot <acourbot@nvidia.com> Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
This commit is contained in:
committed by
Ben Skeggs
parent
c8225b54fe
commit
808d6efdeb
@@ -27,7 +27,7 @@
|
||||
#include <subdev/mmu.h>
|
||||
|
||||
struct nvkm_secboot_func {
|
||||
int (*init)(struct nvkm_secboot *);
|
||||
int (*oneinit)(struct nvkm_secboot *);
|
||||
int (*fini)(struct nvkm_secboot *, bool suspend);
|
||||
void *(*dtor)(struct nvkm_secboot *);
|
||||
int (*reset)(struct nvkm_secboot *, enum nvkm_secboot_falcon);
|
||||
@@ -221,7 +221,7 @@ struct gm200_secboot_func {
|
||||
int (*prepare_blobs)(struct gm200_secboot *);
|
||||
};
|
||||
|
||||
int gm200_secboot_init(struct nvkm_secboot *);
|
||||
int gm200_secboot_oneinit(struct nvkm_secboot *);
|
||||
void *gm200_secboot_dtor(struct nvkm_secboot *);
|
||||
int gm200_secboot_reset(struct nvkm_secboot *, enum nvkm_secboot_falcon);
|
||||
int gm200_secboot_start(struct nvkm_secboot *, enum nvkm_secboot_falcon);
|
||||
|
||||
Reference in New Issue
Block a user