nouveau_debugfs.h 406 B

12345678910111213141516171819202122
  1. #ifndef __NOUVEAU_DEBUGFS_H__
  2. #define __NOUVEAU_DEBUGFS_H__
  3. #include <drm/drmP.h>
  4. #if defined(CONFIG_DEBUG_FS)
  5. extern int nouveau_debugfs_init(struct drm_minor *);
  6. extern void nouveau_debugfs_takedown(struct drm_minor *);
  7. #else
  8. static inline int
  9. nouveau_debugfs_init(struct drm_minor *minor)
  10. {
  11. return 0;
  12. }
  13. static inline void nouveau_debugfs_takedown(struct drm_minor *minor)
  14. {
  15. }
  16. #endif
  17. #endif