posix-clock: Fix return code on the poll method's error path
[linux/fpc-iii.git] / drivers / gpu / drm / nouveau / nvkm / subdev / bus / priv.h
bloba130f2c642d510e100c79beb3a8de9d1e0599d24
1 #ifndef __NVKM_BUS_PRIV_H__
2 #define __NVKM_BUS_PRIV_H__
3 #define nvkm_bus(p) container_of((p), struct nvkm_bus, subdev)
4 #include <subdev/bus.h>
6 struct nvkm_bus_func {
7 void (*init)(struct nvkm_bus *);
8 void (*intr)(struct nvkm_bus *);
9 int (*hwsq_exec)(struct nvkm_bus *, u32 *, u32);
10 u32 hwsq_size;
13 int nvkm_bus_new_(const struct nvkm_bus_func *, struct nvkm_device *, int,
14 struct nvkm_bus **);
16 void nv50_bus_init(struct nvkm_bus *);
17 void nv50_bus_intr(struct nvkm_bus *);
18 #endif