mips: Loongson: Fix the link time qualifier of 'serial_exit()'
authorChristophe JAILLET <christophe.jaillet@wanadoo.fr>
Tue, 10 Sep 2019 03:59:07 +0000 (05:59 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 29 Oct 2019 08:15:04 +0000 (09:15 +0100)
commitb742b54cb85e049bb4992dce19977014d9b6473f
tree259c72517dfd8f2585dd9925e46402b2313131a3
parent8b6d5c1e143bc2ef48a3372ee414ddabcb4342b2
mips: Loongson: Fix the link time qualifier of 'serial_exit()'

[ Upstream commit 25b69a889b638b0b7e51e2c4fe717a66bec0e566 ]

'exit' functions should be marked as __exit, not __init.

Fixes: 85cc028817ef ("mips: make loongsoon serial driver explicitly modular")
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Signed-off-by: Paul Burton <paul.burton@mips.com>
Cc: chenhc@lemote.com
Cc: ralf@linux-mips.org
Cc: jhogan@kernel.org
Cc: linux-mips@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
Cc: kernel-janitors@vger.kernel.org
Signed-off-by: Sasha Levin <sashal@kernel.org>
arch/mips/loongson64/common/serial.c