These changes are the raw update to linux-4.4.6-rt14. Kernel sources
[kvmfornfv.git] / kernel / drivers / gpu / drm / nouveau / nvkm / subdev / fuse / priv.h
1 #ifndef __NVKM_FUSE_PRIV_H__
2 #define __NVKM_FUSE_PRIV_H__
3 #define nvkm_fuse(p) container_of((p), struct nvkm_fuse, subdev)
4 #include <subdev/fuse.h>
5
6 struct nvkm_fuse_func {
7         u32 (*read)(struct nvkm_fuse *, u32 addr);
8 };
9
10 int nvkm_fuse_new_(const struct nvkm_fuse_func *, struct nvkm_device *,
11                    int index, struct nvkm_fuse **);
12 #endif