]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - ti-linux-kernel/ti-linux-kernel-next.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)
committerPaul Burton <paul.burton@mips.com>
Wed, 2 Oct 2019 21:16:32 +0000 (14:16 -0700)
commit25b69a889b638b0b7e51e2c4fe717a66bec0e566
tree31b9dd5b19032fe7d9564e6342ac96970d2b6b9e
parentbd848d1b9235d027e65fcc87de26cc1b02b41cc8
mips: Loongson: Fix the link time qualifier of 'serial_exit()'

'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
arch/mips/loongson64/common/serial.c