nouveau_sysfs.h 353 B

12345678910111213141516171819
  1. #ifndef __NOUVEAU_SYSFS_H__
  2. #define __NOUVEAU_SYSFS_H__
  3. #include "nouveau_drm.h"
  4. struct nouveau_sysfs {
  5. struct nouveau_object *ctrl;
  6. };
  7. static inline struct nouveau_sysfs *
  8. nouveau_sysfs(struct drm_device *dev)
  9. {
  10. return nouveau_drm(dev)->sysfs;
  11. }
  12. int nouveau_sysfs_init(struct drm_device *);
  13. void nouveau_sysfs_fini(struct drm_device *);
  14. #endif