Home | History | Annotate | Line # | Download | only in nouveau
nouveau_debugfs.h revision 1.1.1.1.30.1
      1 /*	$NetBSD: nouveau_debugfs.h,v 1.1.1.1.30.1 2018/09/06 06:56:18 pgoyette Exp $	*/
      2 
      3 #ifndef __NOUVEAU_DEBUGFS_H__
      4 #define __NOUVEAU_DEBUGFS_H__
      5 
      6 #include <drm/drmP.h>
      7 
      8 #if defined(CONFIG_DEBUG_FS)
      9 extern int  nouveau_debugfs_init(struct drm_minor *);
     10 extern void nouveau_debugfs_takedown(struct drm_minor *);
     11 #else
     12 static inline int
     13 nouveau_debugfs_init(struct drm_minor *minor)
     14 {
     15        return 0;
     16 }
     17 
     18 static inline void nouveau_debugfs_takedown(struct drm_minor *minor)
     19 {
     20 }
     21 
     22 #endif
     23 
     24 #endif
     25