1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef __NVKM_FUSE_PRIV_H__
3 #define __NVKM_FUSE_PRIV_H__
4 #define nvkm_fuse(p) container_of((p), struct nvkm_fuse, subdev)
5 #include <subdev/fuse.h>
6 
7 struct nvkm_fuse_func {
8 	u32 (*read)(struct nvkm_fuse *, u32 addr);
9 };
10 
11 int nvkm_fuse_new_(const struct nvkm_fuse_func *, struct nvkm_device *,
12 		   int index, struct nvkm_fuse **);
13 #endif
14