diff options
author | Arnd Bergmann <arnd@arndb.de> | 2016-01-13 08:48:13 -0500 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2016-01-13 16:56:41 -0500 |
commit | 38b1751913c0244056205e456afc07d01fb2ee58 (patch) | |
tree | 6ab3815f5e3823734d1707a86c6c1a18988efc63 | |
parent | 25c80507dd9ed19a5eab9a847120865a17b198da (diff) |
drm: nouveau: fix nouveau_debugfs_init prototype
The new debugfs initialization code fails to build when CONFIG_DEBUG_FS
is disabled:
In file included from /git/arm-soc/drivers/gpu/drm/nouveau/nouveau_drm.c:57:0:
drivers/gpu/drm/nouveau/nouveau_debugfs.h: In function 'nouveau_debugfs_init':
drivers/gpu/drm/nouveau/nouveau_debugfs.h:37:29: error: parameter name omitted
nouveau_debugfs_init(struct nouveau_drm *)
This fixes the prototypes so we can build it again.
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Fixes: b126a200e9db ("drm/nouveau/debugfs: we need a ctrl object for debugfs")
Signed-off-by: Dave Airlie <airlied@redhat.com>
-rw-r--r-- | drivers/gpu/drm/nouveau/nouveau_debugfs.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/drm/nouveau/nouveau_debugfs.h b/drivers/gpu/drm/nouveau/nouveau_debugfs.h index 52c7161297d7..b8c03ff5bf05 100644 --- a/drivers/gpu/drm/nouveau/nouveau_debugfs.h +++ b/drivers/gpu/drm/nouveau/nouveau_debugfs.h | |||
@@ -34,13 +34,13 @@ nouveau_drm_debugfs_cleanup(struct drm_minor *minor) | |||
34 | } | 34 | } |
35 | 35 | ||
36 | static inline int | 36 | static inline int |
37 | nouveau_debugfs_init(struct nouveau_drm *) | 37 | nouveau_debugfs_init(struct nouveau_drm *drm) |
38 | { | 38 | { |
39 | return 0; | 39 | return 0; |
40 | } | 40 | } |
41 | 41 | ||
42 | static inline void | 42 | static inline void |
43 | nouveau_debugfs_fini(struct nouveau_drm *) | 43 | nouveau_debugfs_fini(struct nouveau_drm *drm) |
44 | { | 44 | { |
45 | } | 45 | } |
46 | 46 | ||