tty: xtensa/iss, setup the timer statically
authorJiri Slaby <jslaby@suse.cz>
Tue, 2 Mar 2021 06:22:02 +0000 (07:22 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 10 Mar 2021 08:34:08 +0000 (09:34 +0100)
commit5a1a8425c4436b7a7596a0cce7857bc058c6c360
tree38a0d78391f889bb799d3ab7476b408525d41a19
parentbd5b219425692f4a353d07f5b182e9c71bbcffc2
tty: xtensa/iss, setup the timer statically

Use DEFINE_TIMER and avoid runtime initialization of the serial_timer.

Cc: Chris Zankel <chris@zankel.net>
Cc: Max Filippov <jcmvbkbc@gmail.com>
Cc: linux-xtensa@linux-xtensa.org
Acked-by: Max Filippov <jcmvbkbc@gmail.com>
Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Link: https://lore.kernel.org/r/20210302062214.29627-32-jslaby@suse.cz
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/xtensa/platforms/iss/console.c