xref: /linux/drivers/gpu/drm/nouveau/nvkm/engine/device/ctrl.h (revision fcc8487d477a3452a1d0ccbdd4c5e0e1e3cb8bed)
1 #ifndef __NVKM_DEVICE_CTRL_H__
2 #define __NVKM_DEVICE_CTRL_H__
3 #define nvkm_control(p) container_of((p), struct nvkm_control, object)
4 #include <core/device.h>
5 
6 struct nvkm_control {
7 	struct nvkm_object object;
8 	struct nvkm_device *device;
9 };
10 
11 extern const struct nvkm_device_oclass nvkm_control_oclass;
12 #endif
13