Skip to content

Commit 51084f8

Browse files
rddunlaphdeller
authored andcommitted
fbdev: sh7760fb: allow modular build
There is no reason to prohibit sh7760fb from being built as a loadable module as suggested by Geert, so change the config symbol from bool to tristate to allow that and change the FB dependency as needed. Fixes: f75f71b ("fbdev/sh7760fb: Depend on FB=y") Suggested-by: Geert Uytterhoeven <[email protected]> Signed-off-by: Randy Dunlap <[email protected]> Cc: Thomas Zimmermann <[email protected]> Cc: Javier Martinez Canillas <[email protected]> Cc: John Paul Adrian Glaubitz <[email protected]> Cc: Sam Ravnborg <[email protected]> Cc: Helge Deller <[email protected]> Cc: [email protected] Cc: [email protected] Acked-by: John Paul Adrian Glaubitz <[email protected]> Acked-by: Javier Martinez Canillas <[email protected]> Signed-off-by: Helge Deller <[email protected]>
1 parent 688cf59 commit 51084f8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

drivers/video/fbdev/Kconfig

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1645,8 +1645,8 @@ config FB_COBALT
16451645
select FB_IOMEM_HELPERS
16461646

16471647
config FB_SH7760
1648-
bool "SH7760/SH7763/SH7720/SH7721 LCDC support"
1649-
depends on FB=y && (CPU_SUBTYPE_SH7760 || CPU_SUBTYPE_SH7763 \
1648+
tristate "SH7760/SH7763/SH7720/SH7721 LCDC support"
1649+
depends on FB && (CPU_SUBTYPE_SH7760 || CPU_SUBTYPE_SH7763 \
16501650
|| CPU_SUBTYPE_SH7720 || CPU_SUBTYPE_SH7721)
16511651
select FB_IOMEM_HELPERS
16521652
help

0 commit comments

Comments
 (0)