[sound] !CONFIG_REGULATOR + CONFIG_SND_SOC_ALL_CODECS ->CONFIG_SND_SOC_SGTL5000=m -> build failure

From: Mike Galbraith
Date: Tue Mar 22 2011 - 00:25:37 EST


v2.6.38-6671-geddecbb

marge:/usr/local/src/kernel/linux-2.6.39.git # make -j4 && make modules_install install
CHK include/linux/version.h
CHK include/generated/utsrelease.h
CALL scripts/checksyscalls.sh
CHK include/generated/compile.h
Building modules, stage 2.
Kernel: arch/x86/boot/bzImage is ready (#1893)
MODPOST 523 modules
ERROR: "rdev_get_drvdata" [sound/soc/codecs/snd-soc-sgtl5000.ko] undefined!
ERROR: "regulator_register" [sound/soc/codecs/snd-soc-sgtl5000.ko] undefined!
ERROR: "regulator_unregister" [sound/soc/codecs/snd-soc-sgtl5000.ko] undefined!
WARNING: modpost: Found 1 section mismatch(es).
To see full details build your kernel with:
'make CONFIG_DEBUG_SECTION_MISMATCH=y'
make[1]: *** [__modpost] Error 1
make: *** [modules] Error 2

# CONFIG_REGULATOR is not set
CONFIG_SND_SOC_ALL_CODECS=m
CONFIG_SND_SOC_SGTL5000=m


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/