]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
soc: fsl: qe: ucc: Export ucc_mux_set_grant_tsa_bkpt
authorHerve Codina <herve.codina@bootlin.com>
Thu, 5 Sep 2024 07:22:15 +0000 (09:22 +0200)
committerArnd Bergmann <arnd@arndb.de>
Thu, 5 Sep 2024 14:12:15 +0000 (14:12 +0000)
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@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202409051409.fszn8rEo-lkp@intel.com/
Signed-off-by: Herve Codina <herve.codina@bootlin.com>
Acked-by: Christophe Leroy <christophe.leroy@csgroup.eu>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
drivers/soc/fsl/qe/ucc.c

index 21dbcd787cd5053b9270acda23613058725b2c42..892aa5931d5bd6c353f7af48463a2f3c49f86263 100644 (file)
@@ -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)