Patchwork build issue #583 for v2.6.29-rc2-13-gf3b8436 : undefined reference to `lpddr_cmdset'

login
register
mail settings
Submitter Randy Dunlap
Date Jan. 19, 2009, 6:51 p.m.
Message ID <4974CBB3.4020102@oracle.com>
Download mbox | patch
Permalink /patch/19381/
State New, archived
Headers show

Comments

Randy Dunlap - Jan. 19, 2009, 6:51 p.m.
Toralf Förster wrote:
> Hello,
> 
> the build (.config attached) failed, make ends with :
> ...
>   CC      arch/x86/lib/usercopy_32.o
>   AR      arch/x86/lib/lib.a
>   LD      vmlinux.o
>   MODPOST vmlinux.o
> WARNING: modpost: Found 1 section mismatch(es).
> To see full details build your kernel with:
> 'make CONFIG_DEBUG_SECTION_MISMATCH=y'
>   KSYM    .tmp_kallsyms0.S
>   AS      .tmp_kallsyms0.o
>   GEN     .version
>   CHK     include/linux/compile.h
>   UPD     include/linux/compile.h
>   CC      init/version.o
>   LD      init/built-in.o
>   LD      .tmp_vmlinux1
> drivers/built-in.o: In function `lpddr_probe':
> (.text+0x17a1ae): undefined reference to `lpddr_cmdset'
> make: *** [.tmp_vmlinux1] Error 1


Repeating an email reply from last week:

This patch has been posted, just needs to be merged (hint):
---


Signed-off-by: Alexey Korolev <akorolev@infradead.org>
---

Patch

diff --git a/drivers/mtd/lpddr/Kconfig b/drivers/mtd/lpddr/Kconfig
index acd4ea9..5a401d8 100644
--- a/drivers/mtd/lpddr/Kconfig
+++ b/drivers/mtd/lpddr/Kconfig
@@ -12,6 +12,7 @@  config MTD_LPDDR
 	  DDR memories, intended for battery-operated systems.
 
 config MTD_QINFO_PROBE
+	depends on MTD_LPDDR
 	tristate "Detect flash chips by QINFO probe"
 	help
 	    Device Information for LPDDR chips is offered through the Overlay