]> git.karo-electronics.de Git - karo-tx-linux.git/commit
drm: nouveau: fix nouveau_debugfs_init prototype
authorArnd Bergmann <arnd@arndb.de>
Wed, 13 Jan 2016 13:48:13 +0000 (14:48 +0100)
committerDave Airlie <airlied@redhat.com>
Wed, 13 Jan 2016 21:56:41 +0000 (07:56 +1000)
commit38b1751913c0244056205e456afc07d01fb2ee58
tree6ab3815f5e3823734d1707a86c6c1a18988efc63
parent25c80507dd9ed19a5eab9a847120865a17b198da
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>
drivers/gpu/drm/nouveau/nouveau_debugfs.h