video: vgacon: Don't build on arm64
authorMark Brown <broonie@linaro.org>
Tue, 17 Dec 2013 23:37:01 +0000 (23:37 +0000)
committerDanny Wood <danwood76@gmail.com>
Tue, 29 Jan 2019 13:08:09 +0000 (13:08 +0000)
commit4500adffcaf809f9c8af96211b7abd6babeafd53
treebff08209742506d000b489b1c73df4d4a65d0676
parent19f3ee2b9dd17f6d8af2ee00cddbe12054c24aca
video: vgacon: Don't build on arm64

commit ee23794b86689e655cedd616e98c03bc3c74f5ec upstream.

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.

Signed-off-by: Mark Brown <broonie@linaro.org>
[tomi.valkeinen@ti.com: moved && to first modified line]
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Cc: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/video/console/Kconfig