mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-26 18:25:27 +07:00
23 lines
406 B
C
23 lines
406 B
C
|
#ifndef __NOUVEAU_DEBUGFS_H__
|
||
|
#define __NOUVEAU_DEBUGFS_H__
|
||
|
|
||
|
#include <drm/drmP.h>
|
||
|
|
||
|
#if defined(CONFIG_DEBUG_FS)
|
||
|
extern int nouveau_debugfs_init(struct drm_minor *);
|
||
|
extern void nouveau_debugfs_takedown(struct drm_minor *);
|
||
|
#else
|
||
|
static inline int
|
||
|
nouveau_debugfs_init(struct drm_minor *minor)
|
||
|
{
|
||
|
return 0;
|
||
|
}
|
||
|
|
||
|
static inline void nouveau_debugfs_takedown(struct drm_minor *minor)
|
||
|
{
|
||
|
}
|
||
|
|
||
|
#endif
|
||
|
|
||
|
#endif
|