License cleanup: add SPDX GPL-2.0 license identifier to files with no license
[linux-2.6-block.git] / drivers / gpu / drm / nouveau / nvkm / subdev / mmu / nv04.h
1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef __NV04_MMU_PRIV__
3 #define __NV04_MMU_PRIV__
4 #define nv04_mmu(p) container_of((p), struct nv04_mmu, base)
5 #include "priv.h"
6
7 struct nv04_mmu {
8         struct nvkm_mmu base;
9         struct nvkm_vm *vm;
10         dma_addr_t null;
11         void *nullp;
12 };
13
14 int nv04_mmu_new_(const struct nvkm_mmu_func *, struct nvkm_device *,
15                   int index, struct nvkm_mmu **);
16 void *nv04_mmu_dtor(struct nvkm_mmu *);
17
18 extern const struct nvkm_mmu_func nv04_mmu;
19 #endif