]>
Commit | Line | Data |
---|---|---|
b2441318 | 1 | /* SPDX-License-Identifier: GPL-2.0 */ |
3ca6cd43 MP |
2 | #ifndef __NVKM_FUSE_PRIV_H__ |
3 | #define __NVKM_FUSE_PRIV_H__ | |
c5fcafa5 | 4 | #define nvkm_fuse(p) container_of((p), struct nvkm_fuse, subdev) |
3ca6cd43 MP |
5 | #include <subdev/fuse.h> |
6 | ||
c5fcafa5 BS |
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 **); | |
3ca6cd43 | 13 | #endif |