arch/mips/include/asm/barrier.h:(.text.db1100_mmc_cd+0x1c): undefined reference to `mmc_detect_change'

From: kernel test robot
Date: Wed Sep 13 2023 - 06:08:27 EST


tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 3669558bdf354cd352be955ef2764cde6a9bf5ec
commit: d4a5c59a955bba96b273ec1a5885bada24c56979 mmc: au1xmmc: force non-modular build and remove symbol_get usage
date: 6 weeks ago
config: mips-randconfig-r013-20211017 (https://download.01.org/0day-ci/archive/20230913/202309131725.kaSjigzn-lkp@xxxxxxxxx/config)
compiler: mipsel-linux-gcc (GCC) 11.3.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20230913/202309131725.kaSjigzn-lkp@xxxxxxxxx/reproduce)

If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@xxxxxxxxx>
| Closes: https://lore.kernel.org/oe-kbuild-all/202309131725.kaSjigzn-lkp@xxxxxxxxx/

All errors (new ones prefixed by >>):

mipsel-linux-ld: arch/mips/alchemy/devboards/db1000.o: in function `db1100_mmc_cd':
>> arch/mips/include/asm/barrier.h:(.text.db1100_mmc_cd+0x1c): undefined reference to `mmc_detect_change'
mipsel-linux-ld: arch/mips/alchemy/devboards/db1200.o: in function `pb1200_mmc1_cdfn':
>> arch/mips/include/asm/barrier.h:(.text.pb1200_mmc1_cdfn+0x28): undefined reference to `mmc_detect_change'
mipsel-linux-ld: arch/mips/alchemy/devboards/db1200.o: in function `db1200_mmc_cdfn':
>> arch/mips/include/asm/barrier.h:(.text.db1200_mmc_cdfn+0x28): undefined reference to `mmc_detect_change'
mipsel-linux-ld: arch/mips/alchemy/devboards/db1300.o: in function `db1300_mmc_cdfn':
>> arch/mips/include/asm/barrier.h:(.text.db1300_mmc_cdfn+0x28): undefined reference to `mmc_detect_change'
mipsel-linux-ld: arch/mips/alchemy/devboards/db1300.o: in function `db1300_wm97xx_probe':
arch/mips/include/asm/barrier.h:(.text.db1300_wm97xx_probe+0x30): undefined reference to `wm97xx_config_gpio'
mipsel-linux-ld: arch/mips/include/asm/barrier.h:(.text.db1300_wm97xx_probe+0x50): undefined reference to `wm97xx_config_gpio'
mipsel-linux-ld: arch/mips/include/asm/barrier.h:(.text.db1300_wm97xx_probe+0x70): undefined reference to `wm97xx_register_mach_ops'

--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki