fbdev: Fix tmiofb driver dependencies
authorJean Delvare <jdelvare@suse.de>
Thu, 24 Apr 2014 08:32:58 +0000 (10:32 +0200)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Wed, 30 Apr 2014 11:04:48 +0000 (14:04 +0300)
The tmiofb driver should not depend on MFD_CORE but on MFD_TMIO.
Without the tmio_core driver, tmiofb has no platform device to bind
to and is thus useless.

Signed-off-by: Jean Delvare <jdelvare@suse.de>
Cc: Jean-Christophe Plagniol-Villard <plagnioj@jcrosoft.com>
Cc: Tomi Valkeinen <tomi.valkeinen@ti.com>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
drivers/video/fbdev/Kconfig

index e1f4727..c7ce485 100644 (file)
@@ -1993,7 +1993,7 @@ config FB_SH_MOBILE_HDMI
 
 config FB_TMIO
        tristate "Toshiba Mobile IO FrameBuffer support"
-       depends on FB && MFD_CORE
+       depends on FB && (MFD_TMIO || COMPILE_TEST)
        select FB_CFB_FILLRECT
        select FB_CFB_COPYAREA
        select FB_CFB_IMAGEBLIT