forked from Minki/linux
drm/nouveau/mmu: make nvkm_vmm_ctor() static
The function nvkm_vmm_ctor() is not called outside of the file defining it, so make it static. Signed-off-by: Ralph Campbell <rcampbell@nvidia.com> Reviewed-by: John Hubbard <jhubbard@nvidia.com> Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
This commit is contained in:
parent
8f29432417
commit
e5c7864f62
@ -1030,7 +1030,7 @@ nvkm_vmm_ctor_managed(struct nvkm_vmm *vmm, u64 addr, u64 size)
|
||||
return 0;
|
||||
}
|
||||
|
||||
int
|
||||
static int
|
||||
nvkm_vmm_ctor(const struct nvkm_vmm_func *func, struct nvkm_mmu *mmu,
|
||||
u32 pd_header, bool managed, u64 addr, u64 size,
|
||||
struct lock_class_key *key, const char *name,
|
||||
|
@ -163,9 +163,6 @@ int nvkm_vmm_new_(const struct nvkm_vmm_func *, struct nvkm_mmu *,
|
||||
u32 pd_header, bool managed, u64 addr, u64 size,
|
||||
struct lock_class_key *, const char *name,
|
||||
struct nvkm_vmm **);
|
||||
int nvkm_vmm_ctor(const struct nvkm_vmm_func *, struct nvkm_mmu *,
|
||||
u32 pd_header, bool managed, u64 addr, u64 size,
|
||||
struct lock_class_key *, const char *name, struct nvkm_vmm *);
|
||||
struct nvkm_vma *nvkm_vmm_node_search(struct nvkm_vmm *, u64 addr);
|
||||
struct nvkm_vma *nvkm_vmm_node_split(struct nvkm_vmm *, struct nvkm_vma *,
|
||||
u64 addr, u64 size);
|
||||
|
Loading…
Reference in New Issue
Block a user