staging/solo6x10: depend on CONFIG_FONTS
authorArnd Bergmann <arnd@arndb.de>
Thu, 2 May 2013 15:16:23 +0000 (17:16 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 16 May 2013 22:37:50 +0000 (15:37 -0700)
commit8c090cfbf980581454ae4caae731574fedd7dce8
tree9c56245d45f60a9581ccb1975b030518f92db253
parentfcce768067ae5f397ab5f96e2e471b9ba6a4bf96
staging/solo6x10: depend on CONFIG_FONTS

The new SOLO6X10 driver needs the built-in console fonts, specifically
the VGA8x16 font and building it without console support results in
a link error error.

drivers/built-in.o: In function `solo_osd_print':
 :(.text+0x7d3424): undefined reference to `find_font'

This adds a dependency on the CONFIG_FONTS symbol and changes the
console code to always build the base driver even if there are
no specific fonts built-in.

Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: Hans Verkuil <hans.verkuil@cisco.com>
Cc: Mauro Carvalho Chehab <mchehab@infradead.org>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/media/solo6x10/Kconfig
drivers/video/console/Makefile