]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
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)
committerStefan Bader <stefan.bader@canonical.com>
Tue, 12 Nov 2019 17:46:18 +0000 (18:46 +0100)
commit4431a933ab8d579b6e20f2b63f1f7fa92c870809
tree62e947e13093ac907732dac8c889f61e2fab426d
parentd12445a909ce09e023246ad60f4640727277c27b
mips: Loongson: Fix the link time qualifier of 'serial_exit()'

BugLink: https://bugs.launchpad.net/bugs/1850456
[ 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>
Signed-off-by: Connor Kuehl <connor.kuehl@canonical.com>
Signed-off-by: Kleber Sacilotto de Souza <kleber.souza@canonical.com>
arch/mips/loongson64/common/serial.c