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