drm/nouveau: restore debugfs/vbios.rom support
Signed-off-by: Marcin Slusarz <marcin.slusarz@gmail.com>
This commit is contained in:

committed by
Ben Skeggs

parent
eff76ed788
commit
33b903e828
22
drivers/gpu/drm/nouveau/nouveau_debugfs.h
Normal file
22
drivers/gpu/drm/nouveau/nouveau_debugfs.h
Normal file
@@ -0,0 +1,22 @@
|
||||
#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
|
Reference in New Issue
Block a user