!CONFIG_REGULATOR + CONFIG_SND_SOC_ALL_CODECS -> CONFIG_SND_SOC_SGTL5000=m -> build failure
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 setCONFIG_SND_SOC_ALL_CODECS=mCONFIG_SND_SOC_SGTL5000=m
Quoted 3 lines · Mike Galbraith
v2.6.38-6671-geddecbb
marge:/usr/local/src/kernel/linux-2.6.39.git # make -j4 && make
modules_installinstall
A patch has been sent for this.
When sending patches or problem reports please always make some effort to include relevant maintainers and relevant patch authors in your mail. Mail sent only to a list, particularly a list not relevant to the affected code, is likely to get missed.