Re: [PATCH] video: vgacon: Don't build on arm64

From
Tomi Valkeinen <hidden>
Date
2014-01-08 13:43:20
Reply to
Mark Brown, 2013-12-17
On 2013-12-18 01:37, Mark Brown wrote:
From: Mark Brown <redacted>

arm64 is unlikely to have a VGA console and does not export screen_info
causing build failures if the driver is build, for example in all*config.
Add a dependency on !ARM64 to prevent this.

This list is getting quite long, it may be easier to depend on a symbol
which architectures that do support the driver can select.
I agree, that depends on looks horrible =).
quoted hunk ↗ jump to hunk
Signed-off-by: Mark Brown <redacted>
---
 drivers/video/console/Kconfig | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/drivers/video/console/Kconfig b/drivers/video/console/Kconfig
index 846caab75a46..c39d6c42c3ef 100644
--- a/drivers/video/console/Kconfig
+++ b/drivers/video/console/Kconfig
@@ -8,7 +8,8 @@ config VGA_CONSOLE
 	bool "VGA text console" if EXPERT || !X86
 	depends on !4xx && !8xx && !SPARC && !M68K && !PARISC && !FRV && \
 		!SUPERH && !BLACKFIN && !AVR32 && !MN10300 && !CRIS && \
-		(!ARM || ARCH_FOOTBRIDGE || ARCH_INTEGRATOR || ARCH_NETWINDER)
+		(!ARM || ARCH_FOOTBRIDGE || ARCH_INTEGRATOR || ARCH_NETWINDER) \
+		&& !ARM64
 	default y
 	help
 	  Saying Y here will allow you to use Linux in text mode through a
I moved the && to the previous line as is the custom. Queued for 3.14.

 Tomi

Attachments

Thread (6 messages) 6 messages, 4 authors, last reply 2014-01-08
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help