Skip to contentSkip to conversation

fix linking

PATCH In review Komal Shah 2 participants 2 messages Jan 14, 2006 – Jan 16, 2006

Subsystems (3)
lore
Share & tools
lore

Komal Shah

author
#0 lore raw

PATCH 1/1 fix linking

Tony,

Patch fixes following error, which gets generated if you don't select IrDA driver for H4.

arch/arm/mach-omap2/built-in.o(.text+0x1844): In function `$a':
: undefined reference to read_gpio_expa' arch/arm/mach-omap2/built-in.o(.text+0x186c): In function $a':
: undefined reference to write_gpio_expa' arch/arm/mach-omap2/built-in.o(.text+0x18ac): In function $a':
: undefined reference to read_gpio_expa' arch/arm/mach-omap2/built-in.o(.text+0x18e4): In function $a':
: undefined reference to `write_gpio_expa'
make: *** [.tmp_vmlinux1] Error 1

---Komal Shah
http://komalshah.blogspot.com/

__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com

arch/arm/mach-omap2/Kconfig +1 -0
index 5788809..85cc78b 100644
@@ -19,4 +19,5 @@ config MACH_OMAP_GENERIC
 config MACH_OMAP_H4
 	bool "OMAP 2420 H4 board"
 	depends on ARCH_OMAP2 && ARCH_OMAP24XX
+	select GPIOEXPANDER_OMAP	
 
maintainer
#1 lore raw
Quoted 17 lines · Komal Shah

Tony,

Patch fixes following error, which gets generated if you don't select IrDA driver for H4.

arch/arm/mach-omap2/built-in.o(.text+0x1844): In function `$a':
: undefined reference to read_gpio_expa' arch/arm/mach-omap2/built-in.o(.text+0x186c): In function $a':
: undefined reference to write_gpio_expa' arch/arm/mach-omap2/built-in.o(.text+0x18ac): In function $a':
: undefined reference to read_gpio_expa' arch/arm/mach-omap2/built-in.o(.text+0x18e4): In function $a':
: undefined reference to `write_gpio_expa'
make: *** [.tmp_vmlinux1] Error 1

Quoted 7 lines

---Komal Shah
http://komalshah.blogspot.com/

__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com

Content-Description: 1216354423-fix-linking.patch

arch/arm/mach-omap2/Kconfig config MACH_OMAP_GENERIC · line 23

Quoted 10 lines
arch/arm/mach-omap2/Kconfig +1 -0
index 5788809..85cc78b 100644
@@ -19,4 +19,5 @@ config MACH_OMAP_GENERIC
 config MACH_OMAP_H4
 	bool "OMAP 2420 H4 board"
 	depends on ARCH_OMAP2 && ARCH_OMAP24XX
+	select GPIOEXPANDER_OMAP	
 

Thanks, pushing today.

Tony