]> git.baikalelectronics.ru Git - kernel.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)
commit8a9146150a1da3c95b34148bf46666d80283abaa
tree6ab3815f5e3823734d1707a86c6c1a18988efc63
parent0fef5ccb2aae5e4877c4659b5cfb54390e4ded9c
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: bfeb5a9ae662 ("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