diff options
author | Arnd Bergmann <arnd@arndb.de> | 2016-11-08 15:50:41 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2016-11-10 14:50:45 +0100 |
commit | 9de4153dbb2416817d341f57e7b194df5111f075 (patch) | |
tree | 15268b79e827144dca953ea1733b686c2ecb0628 /drivers/tty/serial | |
parent | 68832b20c92affcbe739ff1f6343516d8b824223 (diff) |
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>
Diffstat (limited to 'drivers/tty/serial')
-rw-r--r-- | drivers/tty/serial/pxa.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/tty/serial/pxa.c b/drivers/tty/serial/pxa.c index b9dd787cb561..75952811c0da 100644 --- a/drivers/tty/serial/pxa.c +++ b/drivers/tty/serial/pxa.c @@ -927,7 +927,7 @@ static struct platform_driver serial_pxa_driver = { /* 8250 driver for PXA serial ports should be used */ -static int __deprecated __init serial_pxa_init(void) +static int __init serial_pxa_init(void) { int ret; |