soc: fsl: qe: ucc: Export ucc_mux_set_grant_tsa_bkpt
Subsystems (2)
PATCH 1/1 soc: fsl: qe: ucc: Export ucc_mux_set_grant_tsa_bkpt
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.
--- drivers/soc/fsl/qe/ucc.c | 1 + 1 file changed, 1 insertion(+)
drivers/soc/fsl/qe/ucc.c +1 -0
@@ -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)
Signature · 1 line
2.46.0
Le 05/09/2024 à 09:22, Herve Codina a écrit :
Quoted 10 lines
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_bkptsymbol is not exported.Simply export
ucc_mux_set_grant_tsa_bkpt.Reported-by kernel test robot <[email protected]>Signed-off-by Herve Codina <[email protected]>
Arnd, it is ok for you to take this patch directly ?
Thanks
Christophe
Quoted 16 lines
--- drivers/soc/fsl/qe/ucc.c | 1 + 1 file changed, 1 insertion(+)drivers/soc/fsl/qe/ucc.c +1
-0@@ -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)
Quoted 8 lines · Christophe Leroy
Le 05/09/2024 à 09:22, Herve Codina a écrit :
Quoted 7 lines
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_bkptsymbol is not exported.Simply export
ucc_mux_set_grant_tsa_bkpt.
Quoted 7 lines
Quoted 3 lines
Reported-by kernel test robot <[email protected]>Signed-off-by Herve Codina <[email protected]>Acked-by Christophe Leroy <[email protected]>Arnd, it is ok for you to take this patch directly ?
I've applied this one directly, but I'm not always paying attention to patches flying by, so if you have more fixes like this in the future, I recommend that you forward those to [email protected], either as a patch or a pull request.
That way, I see them in patchwork and will apply them from there.
Arnd