Skip to contentSkip to conversation

fbdev: Fix tmiofb driver dependencies

PATCH Superseded Jean Delvare 2 participants 3 messages Apr 23, 2014 – Apr 24, 2014 Framebuffer layer

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 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.

 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
 	select FB_CFB_FILLRECT
 	select FB_CFB_COPYAREA
 	select FB_CFB_IMAGEBLIT
Signature · 2 lines
Jean Delvare
SUSE L3 Support
#1 lore raw

Hi Jean,

Quoted 3 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.

What about COMPILE_TEST?

Quoted 6 lines
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.

Does it compile with MFD_CORE=n?
If no: depends on FB && MDF_CORE && (MFD_TMIO || COMPILE_TEST) If yes: depends on FB && (MFD_TMIO || COMPILE_TEST)

drivers/video/fbdev/Kconfig 2014-04-23 13:40:01.170774059 +0200 config FB_SH_MOBILE_HDMI · line 1996

Quoted 11 lines
 drivers/video/fbdev/Kconfig |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/video/fbdev/Kconfig 2014-04-23 13:40:01.170774059 +0200 renamed from drivers/video/fbdev/Kconfig 2014-04-23 11:51:17.163933232 +0200 +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

Gr{oetje,eeting}s,

Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- [email protected]

In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds

#2 lore raw
In reply to Jean Delvare

Hi Geert,

Quoted 6 lines · Geert Uytterhoeven
Quoted 3 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.

What about COMPILE_TEST?

I could add that, yes, good point.

Quoted 8 lines
Quoted 6 lines
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.

Does it compile with MFD_CORE=n?

I tried and yes, it does.

Quoted 2 lines

If no: depends on FB && MDF_CORE && (MFD_TMIO || COMPILE_TEST) If yes: depends on FB && (MFD_TMIO || COMPILE_TEST)

I'll send an updated patch doing the latter.

Thanks for the review,

Signature · 2 lines
Jean Delvare
SUSE L3 Support