summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/nouveau/nouveau_debugfs.h
diff options
context:
space:
mode:
authorKarol Herbst <nouveau@karolherbst.de>2015-07-31 00:35:42 +0200
committerBen Skeggs <bskeggs@redhat.com>2016-01-11 11:28:24 +1000
commit56c101af401f3c1f0c97bc98ad6f32e4d4a6b05a (patch)
tree95081bbfbc0fbfdf2bcfb0d277c1ab4b1acea439 /drivers/gpu/drm/nouveau/nouveau_debugfs.h
parent1b7ab1a1c3807523417fe4c20876546caf936242 (diff)
downloadlinux-56c101af401f3c1f0c97bc98ad6f32e4d4a6b05a.tar.bz2
drm/nouveau/debugfs: rename functions to indicate they are used inside drm
We will need our own debugfs_init and cleanup functions, because nouveau_drm isn't ready while the DRM ones are called by DRM. Signed-off-by: Karol Herbst <nouveau@karolherbst.de> Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/nouveau/nouveau_debugfs.h')
-rw-r--r--drivers/gpu/drm/nouveau/nouveau_debugfs.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/drivers/gpu/drm/nouveau/nouveau_debugfs.h b/drivers/gpu/drm/nouveau/nouveau_debugfs.h
index a62af6fb5f99..42d65c9d1db7 100644
--- a/drivers/gpu/drm/nouveau/nouveau_debugfs.h
+++ b/drivers/gpu/drm/nouveau/nouveau_debugfs.h
@@ -4,16 +4,17 @@
#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 *);
+extern int nouveau_drm_debugfs_init(struct drm_minor *);
+extern void nouveau_drm_debugfs_cleanup(struct drm_minor *);
#else
static inline int
-nouveau_debugfs_init(struct drm_minor *minor)
+nouveau_drm_debugfs_init(struct drm_minor *minor)
{
return 0;
}
-static inline void nouveau_debugfs_takedown(struct drm_minor *minor)
+static inline void
+nouveau_drm_debugfs_cleanup(struct drm_minor *minor)
{
}