2013-02-08 20:42:13 +00:00
|
|
|
#ifndef __NOUVEAU_DEBUGFS_H__
|
|
|
|
#define __NOUVEAU_DEBUGFS_H__
|
|
|
|
|
|
|
|
#include <drm/drmP.h>
|
|
|
|
|
|
|
|
#if defined(CONFIG_DEBUG_FS)
|
2015-07-30 22:35:42 +00:00
|
|
|
extern int nouveau_drm_debugfs_init(struct drm_minor *);
|
|
|
|
extern void nouveau_drm_debugfs_cleanup(struct drm_minor *);
|
2013-02-08 20:42:13 +00:00
|
|
|
#else
|
|
|
|
static inline int
|
2015-07-30 22:35:42 +00:00
|
|
|
nouveau_drm_debugfs_init(struct drm_minor *minor)
|
2013-02-08 20:42:13 +00:00
|
|
|
{
|
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
|
2015-07-30 22:35:42 +00:00
|
|
|
static inline void
|
|
|
|
nouveau_drm_debugfs_cleanup(struct drm_minor *minor)
|
2013-02-08 20:42:13 +00:00
|
|
|
{
|
|
|
|
}
|
|
|
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif
|