Skip to contentSkip to conversation

fbdev: Fix tmiofb driver dependencies

PATCH In review Jean Delvare 2 participants 2 messages Apr 24, 2014 – Apr 30, 2014 Framebuffer layer

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 fbdev: Fix tmiofb driver dependencies

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.

Cc Jean-Christophe Plagniol-Villard <[email protected]>
Cc Tomi Valkeinen <[email protected]>

---
I suspect that MFD_TMIO was originally intended and MFD_CORE was a typo.

Changes since v1:
* Added COMPILE_TEST as suggested by Geert Uytterhoeven.

 drivers/video/fbdev/Kconfig |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/video/fbdev/Kconfig +1 -1
@@ -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
Signature · 2 lines
Jean Delvare
SUSE L3 Support
#1 lore raw
Quoted 20 lines · Jean Delvare

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.

Cc Jean-Christophe Plagniol-Villard <[email protected]>
Cc Tomi Valkeinen <[email protected]>

---
I suspect that MFD_TMIO was originally intended and MFD_CORE was a typo.

Changes since v1:
* Added COMPILE_TEST as suggested by Geert Uytterhoeven.

 drivers/video/fbdev/Kconfig |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

drivers/video/fbdev/Kconfig config FB_SH_MOBILE_HDMI · line 1999

Quoted 8 lines
drivers/video/fbdev/Kconfig +1 -1
@@ -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

Thanks, queued for 3.16.

Tomi