fbdev/sh7760fb: allow modular build
PATCH 1/1 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.
--- drivers/video/fbdev/Kconfig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/video/fbdev/Kconfig +2 -2
@@ -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
Quoted 15 lines · Randy Dunlap
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 f75f71b2c418 ("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]>
Quoted 4 lines
--- drivers/video/fbdev/Kconfig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
Signature · 5 lines
Best regards, Javier Martinez Canillas Core Platforms Red Hat
Quoted 23 lines · Randy Dunlap
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 f75f71b2c418 ("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]>--- drivers/video/fbdev/Kconfig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)diff -- a/drivers/video/fbdev/Kconfig b/drivers/video/fbdev/Kconfig
drivers/video/fbdev/Kconfig config FB_COBALT · line 1652
Quoted 10 lines
drivers/video/fbdev/Kconfig +2
-2@@ -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
Adrian
Signature · 4 lines
.''`. John Paul Adrian Glaubitz : :' : Debian Developer `. `' Physicist `- GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913
Hi,
Will someone be merging this patch?
thanks.
Quoted 39 lines · John Paul Adrian Glaubitz
Quoted 23 lines · Randy Dunlap
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 f75f71b2c418 ("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]>--- drivers/video/fbdev/Kconfig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)diff -- a/drivers/video/fbdev/Kconfig b/drivers/video/fbdev/Kconfig
drivers/video/fbdev/Kconfig config FB_COBALT · line 1652
Quoted 10 lines
drivers/video/fbdev/Kconfig +2
-2@@ -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 helpAdrian
Signature · 1 line
#Randy
Helge Deller
maintainerQuoted 3 lines · Randy Dunlap
Hi,
Will someone be merging this patch?
I've just added it to the fbdev git tree.
Thanks!
Helge
Quoted 44 lines
thanks.
Quoted 39 lines · John Paul Adrian Glaubitz
Quoted 23 lines · Randy Dunlap
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 f75f71b2c418 ("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]>--- drivers/video/fbdev/Kconfig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)diff -- a/drivers/video/fbdev/Kconfig b/drivers/video/fbdev/Kconfig
drivers/video/fbdev/Kconfig config FB_COBALT · line 1652
Quoted 10 lines
drivers/video/fbdev/Kconfig +2
-2@@ -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 helpAdrian
Quoted 6 lines · Helge Deller
Quoted 3 lines · Randy Dunlap
Hi,
Will someone be merging this patch?
I've just added it to the fbdev git tree.
Ah, good. Then I can drop it from my queue again.
Adrian
Signature · 4 lines
.''`. John Paul Adrian Glaubitz : :' : Debian Developer `. `' Physicist `- GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913
Hi Randy,
Quoted 1 line · Randy Dunlap
Will someone be merging this patch?
Shall I pick it up through my tree?
Adrian
Signature · 4 lines
.''`. John Paul Adrian Glaubitz : :' : Debian Developer `. `' Physicist `- GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913