On Tue, Sep 05, 2023 at 09:06:56AM +0200, Christoph Hellwig wrote: > While commit d4a5c59a955b ("mmc: au1xmmc: force non-modular build and > remove symbol_get usage") to be built in, it can still build a kernel > without MMC support and thuse no mmc_detect_change symbol at all. > > Add ifdefs to build the mmc support code in the alchemy arch code > conditional on mmc support. > > Fixes: d4a5c59a955b ("mmc: au1xmmc: force non-modular build and remove symbol_get usage") > Reported-by: kernel test robot <lkp@xxxxxxxxx> > Signed-off-by: Christoph Hellwig <hch@xxxxxx> > --- > arch/mips/alchemy/devboards/db1000.c | 4 ++++ > arch/mips/alchemy/devboards/db1200.c | 6 ++++++ > arch/mips/alchemy/devboards/db1300.c | 4 ++++ > 3 files changed, 14 insertions(+) applied to mips-fixes. Thomas. -- Crap can work. Given enough thrust pigs will fly, but it's not necessarily a good idea. [ RFC1925, 2.3 ]