]> git.baikalelectronics.ru Git - kernel.git/commit
xtensa: fix screen_info, clean up unused declarations in setup.c
authorMax Filippov <jcmvbkbc@gmail.com>
Wed, 16 Nov 2016 02:08:07 +0000 (18:08 -0800)
committerMax Filippov <jcmvbkbc@gmail.com>
Wed, 16 Nov 2016 07:54:57 +0000 (23:54 -0800)
commit6ddd51b29378d3b0f77714065f69c419c139db9a
tree9dbfe0625f35871c01272ef2da205582acbcde0d
parent54da92eb163f77597b418bf69533499840967404
xtensa: fix screen_info, clean up unused declarations in setup.c

screen_info on xtensa has old style initializer without field names.
It was broken by the commit 52971899eb6a ("x86, setup: Store the boot
cursor state") that split the unused2 field into two.

Rewrite screen_info initialization with explicit field names.

Drop unused declarations/tentative definitions of RTC- and FD-related
structures. Drop inclusion of linux/timex.h when RTC is enabled in
configuration.

Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
arch/xtensa/kernel/setup.c