]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
powerpc/8xx: export 'cpm_setbrg' for modules
authorRandy Dunlap <rdunlap@infradead.org>
Fri, 22 Jan 2021 01:08:19 +0000 (17:08 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 14 Jun 2022 14:59:24 +0000 (16:59 +0200)
commit8e39fef4f2f323d71dc36938a344a3846fed46f5
treeca495f6e79f32525f45e2a67753d51ba3f10ea0e
parentfe550c6ef4060024918243a64f653c11331b16a9
powerpc/8xx: export 'cpm_setbrg' for modules

[ Upstream commit 22f8e625ebabd7ed3185b82b44b4f12fc0402113 ]

Fix missing export for a loadable module build:

ERROR: modpost: "cpm_setbrg" [drivers/tty/serial/cpm_uart/cpm_uart.ko] undefined!

Fixes: 1da177e4c3f4 ("Linux-2.6.12-rc")
Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Reported-by: kernel test robot <lkp@intel.com>
[chleroy: Changed Fixes: tag]
Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20210122010819.30986-1-rdunlap@infradead.org
Signed-off-by: Sasha Levin <sashal@kernel.org>
arch/powerpc/sysdev/cpm1.c