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)
commit03eae3aca94c1e598be3ff40af492e1ca299577b
tree9dbfe0625f35871c01272ef2da205582acbcde0d
parent709fb1f961ea5c287107c3f903e81c9529224c8b
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 d9b263528e01 ("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