Re: [PATCH] soc: fsl: qe: ucc: Export ucc_mux_set_grant_tsa_bkpt

From: Christophe Leroy
Date: Thu Sep 05 2024 - 03:50:16 EST




Le 05/09/2024 à 09:22, Herve Codina a écrit :
When TSA is compiled as module the following error is reported:
"ucc_mux_set_grant_tsa_bkpt" [drivers/soc/fsl/qe/tsa.ko] undefined!

Indeed, the ucc_mux_set_grant_tsa_bkpt symbol is not exported.

Simply export ucc_mux_set_grant_tsa_bkpt.

Reported-by: kernel test robot <lkp@xxxxxxxxx>
Closes: https://lore.kernel.org/oe-kbuild-all/202409051409.fszn8rEo-lkp@xxxxxxxxx/
Signed-off-by: Herve Codina <herve.codina@xxxxxxxxxxx>

Acked-by: Christophe Leroy <christophe.leroy@xxxxxxxxxx>

Arnd, it is ok for you to take this patch directly ?

Thanks
Christophe

---
drivers/soc/fsl/qe/ucc.c | 1 +
1 file changed, 1 insertion(+)

diff --git a/drivers/soc/fsl/qe/ucc.c b/drivers/soc/fsl/qe/ucc.c
index 21dbcd787cd5..892aa5931d5b 100644
--- a/drivers/soc/fsl/qe/ucc.c
+++ b/drivers/soc/fsl/qe/ucc.c
@@ -114,6 +114,7 @@ int ucc_mux_set_grant_tsa_bkpt(unsigned int ucc_num, int set, u32 mask)
return 0;
}
+EXPORT_SYMBOL(ucc_mux_set_grant_tsa_bkpt);
int ucc_set_qe_mux_rxtx(unsigned int ucc_num, enum qe_clock clock,
enum comm_dir mode)