]> git.baikalelectronics.ru Git - kernel.git/commit
video/mbx: fix building debugfs support
authorArnd Bergmann <arnd@arndb.de>
Thu, 24 Apr 2014 12:28:21 +0000 (13:28 +0100)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Fri, 9 May 2014 09:55:46 +0000 (12:55 +0300)
commitb1901244ec89ef65da7b875c46109afc0547e9ea
treeb5fef5a0d15ae98ffc5650c41cf86e278f5d3d86
parent967f55617a4d606b4beaa49047d8b5b164ff5127
video/mbx: fix building debugfs support

The mbx framebuffer debugfs support apparently hasn't been able
to build for a long time, at least since 2006 when the u.generic_ip
field in the inode was removed. This fixes the obvious bug, and
also makes it possible to build the driver as a module when
debugfs support is enabled, by simply including the C file.
It's ugly, but it won't make the driver any worse than it
already is, and doesn't require a more invasive change that
might break it further.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Peter Griffin <peter.griffin@linaro.org>
Cc: Jean-Christophe Plagniol-Villard <plagnioj@jcrosoft.com>
Cc: Tomi Valkeinen <tomi.valkeinen@ti.com>
Cc: linux-fbdev@vger.kernel.org
Cc: Raphael Assenat <raph@8d.com>
Cc: Mike Rapoport <mike@compulab.co.il>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
drivers/video/fbdev/mbx/Makefile
drivers/video/fbdev/mbx/mbxdebugfs.c
drivers/video/fbdev/mbx/mbxfb.c