Skip to contentSkip to conversation

ARM: smdk2410: Fix compile breakage

PATCH New Alexander Shiyan 2 participants 2 messages Feb 6, 2013 – Feb 8, 2013

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ARM: smdk2410: Fix compile breakage

Symbol S3C_DEV_USB_HOST should be defined to avoid this problem.
LINK vmlinux
LD vmlinux.o
MODPOST vmlinux.o
WARNING: modpost: Found 2 section mismatch(es).
To see full details build your kernel with:
'make CONFIG_DEBUG_SECTION_MISMATCH=y'

  GEN     .version
  CHK     include/generated/compile.h
  UPD     include/generated/compile.h
  CC      init/version.o
  LD      init/built-in.o

arch/arm/mach-s3c24xx/built-in.o:(.init.data+0x660): undefined reference to `s3c_device_ohci'
make: *** [vmlinux] Error 1

---
 arch/arm/mach-s3c24xx/Kconfig | 1 +
 1 file changed, 1 insertion(+)
arch/arm/mach-s3c24xx/Kconfig +1 -0
index ba6c501..8080dc1 100644
@@ -350,6 +350,7 @@ config MACH_QT2410
 config ARCH_SMDK2410
 	bool "SMDK2410/A9M2410"
 	select S3C24XX_SMDK
+	select S3C_DEV_USB_HOST
 	help
 	  Say Y here if you are using the SMDK2410 or the derived module A9M2410
 	  <http://www.fsforth.de>
Signature · 1 line
1.7.12.4
Applied
#1 lore raw

PATCH 1/1 ARM: smdk2410: Fix compile breakage

Quoted 8 lines · Alexander Shiyan

Symbol S3C_DEV_USB_HOST should be defined to avoid this problem.
LINK vmlinux
LD vmlinux.o
MODPOST vmlinux.o
WARNING: modpost: Found 2 section mismatch(es).
To see full details build your kernel with:
'make CONFIG_DEBUG_SECTION_MISMATCH=y'

Quoted 6 lines
  GEN     .version
  CHK     include/generated/compile.h
  UPD     include/generated/compile.h
  CC      init/version.o
  LD      init/built-in.o

arch/arm/mach-s3c24xx/built-in.o:(.init.data+0x660): undefined reference

to

Quoted 20 lines

`s3c_device_ohci'
make: *** [vmlinux] Error 1

---
 arch/arm/mach-s3c24xx/Kconfig | 1 +
 1 file changed, 1 insertion(+)
arch/arm/mach- renamed from arch/arm/mach-s3c24xx/Kconfig +0 -0

s3c24xx/Kconfig
index ba6c501..8080dc1 100644

arch/arm/mach-s3c24xx/Kconfig +1 -0
@@ -350,6 +350,7 @@ config MACH_QT2410
 config ARCH_SMDK2410
 	bool "SMDK2410/A9M2410"
 	select S3C24XX_SMDK
+	select S3C_DEV_USB_HOST
 	help
 	  Say Y here if you are using the SMDK2410 or the derived module
Quoted 4 lines

A9M2410
<http://www.fsforth.de>
--
1.7.12.4

Applied, thanks.

- Kukjin