posix-clock: Fix return code on the poll method's error path
[linux/fpc-iii.git] / drivers / gpu / drm / nouveau / include / nvkm / subdev / fuse.h
blobae201e388487197411339fc51f264d4a5b14bc90
1 #ifndef __NVKM_FUSE_H__
2 #define __NVKM_FUSE_H__
3 #include <core/subdev.h>
5 struct nvkm_fuse {
6 const struct nvkm_fuse_func *func;
7 struct nvkm_subdev subdev;
8 spinlock_t lock;
9 };
11 u32 nvkm_fuse_read(struct nvkm_fuse *, u32 addr);
13 int nv50_fuse_new(struct nvkm_device *, int, struct nvkm_fuse **);
14 int gf100_fuse_new(struct nvkm_device *, int, struct nvkm_fuse **);
15 int gm107_fuse_new(struct nvkm_device *, int, struct nvkm_fuse **);
16 #endif