]> git.baikalelectronics.ru Git - kernel.git/commit
ARM: footbridge: make screen_info setup conditional
authorArnd Bergmann <arnd@arndb.de>
Sat, 15 Mar 2014 10:30:18 +0000 (11:30 +0100)
committerArnd Bergmann <arnd@arndb.de>
Fri, 21 Mar 2014 17:26:10 +0000 (18:26 +0100)
commitd3a381098e72084c0165ae6103598608d8c9be0d
tree61a5de4b635f3469a59a0d3346329d439462158a
parent2eba6d005af07e66721d30c2a41626b50fda7b67
ARM: footbridge: make screen_info setup conditional

The global screen_info structure is used to communicate
data about the console from platform code to the console
driver, but is only defined on ARM if either the VGA or
dummy consoles are in use.

This changes the footbridge code so we don't try to access
this structure in case it is not defined, which prevents
a possible randconfig build error.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Cc: Russell King <linux@arm.linux.org.uk>
arch/arm/mach-footbridge/cats-hw.c