serial: pxa2xx: remove __deprecated annotation
authorArnd Bergmann <arnd@arndb.de>
Tue, 8 Nov 2016 14:50:41 +0000 (15:50 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 10 Nov 2016 13:50:45 +0000 (14:50 +0100)
commit9de4153dbb2416817d341f57e7b194df5111f075
tree15268b79e827144dca953ea1733b686c2ecb0628
parent68832b20c92affcbe739ff1f6343516d8b824223
serial: pxa2xx: remove __deprecated annotation

An otherwise very nice cleanup of the pxa2xx uart support marked the
init function of this driver as __deprecated:

drivers/tty/serial/pxa.c:944:1: error: 'serial_pxa_init' is deprecated [-Werror=deprecated-declarations]

This seems unhelpful to me, as we now warn for every allmodconfig build,
which is otherwise free of warnings on most architectures. Let's
remove the annotation again.

Fixes: ab28f51c77cd ("serial: rewrite pxa2xx-uart to use 8250_core")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/pxa.c