Skip to content

Commit

Permalink
fbdev: sh7760fb: allow modular build
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
rddunlap authored and hdeller committed Apr 10, 2024
1 parent 688cf59 commit 51084f8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/video/fbdev/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -1645,8 +1645,8 @@ config FB_COBALT
select FB_IOMEM_HELPERS

config FB_SH7760
bool "SH7760/SH7763/SH7720/SH7721 LCDC support"
depends on FB=y && (CPU_SUBTYPE_SH7760 || CPU_SUBTYPE_SH7763 \
tristate "SH7760/SH7763/SH7720/SH7721 LCDC support"
depends on FB && (CPU_SUBTYPE_SH7760 || CPU_SUBTYPE_SH7763 \
|| CPU_SUBTYPE_SH7720 || CPU_SUBTYPE_SH7721)
select FB_IOMEM_HELPERS
help
Expand Down

0 comments on commit 51084f8

Please sign in to comment.