treewide: remove redundant IS_ERR() before error code check
[linux/fpc-iii.git] / drivers / gpu / drm / nouveau / nvkm / subdev / mmu / ummu.h
blob0cd510dcfc680af8c1603bc34c600a4348212e52
1 #ifndef __NVKM_UMMU_H__
2 #define __NVKM_UMMU_H__
3 #define nvkm_ummu(p) container_of((p), struct nvkm_ummu, object)
4 #include <core/object.h>
5 #include "priv.h"
7 struct nvkm_ummu {
8 struct nvkm_object object;
9 struct nvkm_mmu *mmu;
12 int nvkm_ummu_new(struct nvkm_device *, const struct nvkm_oclass *,
13 void *argv, u32 argc, struct nvkm_object **);
14 #endif