]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commit
openrisc: prevent VGA console, fix builds
authorRandy Dunlap <rdunlap@infradead.org>
Sun, 20 Nov 2016 23:40:32 +0000 (08:40 +0900)
committerStafford Horne <shorne@gmail.com>
Mon, 12 Dec 2016 14:10:29 +0000 (23:10 +0900)
commit7c7808ce107d63e158dbbc3af085980985a0c3c4
tree8f7defd7c99007d6d2ba4e97355c415565b6393f
parentcdb75442fedff8cc3ddedbe6e41d00b471634e17
openrisc: prevent VGA console, fix builds

OpenRISC does not support VGA console, so prevent that kconfig symbol
from being enabled for OpenRISC, thus fixing these build errors:

   drivers/built-in.o: In function `vgacon_save_screen':
   vgacon.c:(.text+0x20e0): undefined reference to `screen_info'
   vgacon.c:(.text+0x20e8): undefined reference to `screen_info'
   drivers/built-in.o: In function `vgacon_init':
   vgacon.c:(.text+0x284c): undefined reference to `screen_info'
   vgacon.c:(.text+0x2850): undefined reference to `screen_info'
   drivers/built-in.o: In function `vgacon_startup':
   vgacon.c:(.text+0x28d8): undefined reference to `screen_info'
   drivers/built-in.o:vgacon.c:(.text+0x28f0): more undefined references to `screen_info' follow

Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Reported-by: kbuild test robot <fengguang.wu@intel.com>
Cc: Chen Gang <gang.chen@asianux.com>
Cc: Jonas Bonn <jonas@southpole.se>
Signed-off-by: Stafford Horne <shorne@gmail.com>
drivers/video/console/Kconfig