ctrl.h 348 B

12345678910111213
  1. /* SPDX-License-Identifier: GPL-2.0 */
  2. #ifndef __NVKM_DEVICE_CTRL_H__
  3. #define __NVKM_DEVICE_CTRL_H__
  4. #define nvkm_control(p) container_of((p), struct nvkm_control, object)
  5. #include <core/object.h>
  6. struct nvkm_control {
  7. struct nvkm_object object;
  8. struct nvkm_device *device;
  9. };
  10. extern const struct nvkm_device_oclass nvkm_control_oclass;
  11. #endif