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