Skip to contentSkip to conversation

omap1: select GENERIC_IRQ_CHIP for TI OMAP1

PATCH Superseded Axel Lin 2 participants 4 messages Jun 28, 2011 – Jul 18, 2011

Subsystems (2)
lore
Share & tools
lore

Axel Lin

author
#0 lore raw

PATCH 1/1 omap1: select GENERIC_IRQ_CHIP for TI OMAP1

The gpio-omap driver has been converted to use generic IRQ chip. Thus select GENERIC_IRQ_CHIP for TI OMAP1 to fix below build error.

LD vmlinux
drivers/built-in.o: In function `omap_mpuio_alloc_gc':
drivers/gpio/gpio-omap.c:1087: undefined reference to irq_alloc_generic_chip' drivers/gpio/gpio-omap.c:1100: undefined reference to irq_setup_generic_chip' drivers/built-in.o: In function `omap_gpio_show_rev':
drivers/gpio/gpio-omap.c:998: undefined reference to irq_gc_mask_clr_bit' drivers/gpio/gpio-omap.c:998: undefined reference to irq_gc_mask_set_bit'
make: *** [vmlinux] Error 1

---
 arch/arm/plat-omap/Kconfig |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
arch/arm/plat-omap/Kconfig +1 -0
index 49a4c75..9a4a6bf 100644
@@ -13,6 +13,7 @@ config ARCH_OMAP1
 	bool "TI OMAP1"
 	select CLKDEV_LOOKUP
 	select CLKSRC_MMIO
+	select GENERIC_IRQ_CHIP
 	help
 	  "Systems based on omap7xx, omap15xx or omap16xx"
 
Signature · 1 line
1.7.4.1
#1 lore raw
Quoted 12 lines · Axel Lin

The gpio-omap driver has been converted to use generic IRQ chip. Thus select GENERIC_IRQ_CHIP for TI OMAP1 to fix below build error.

LD vmlinux
drivers/built-in.o: In function `omap_mpuio_alloc_gc':
drivers/gpio/gpio-omap.c:1087: undefined reference to irq_alloc_generic_chip' drivers/gpio/gpio-omap.c:1100: undefined reference to irq_setup_generic_chip' drivers/built-in.o: In function `omap_gpio_show_rev':
drivers/gpio/gpio-omap.c:998: undefined reference to irq_gc_mask_clr_bit' drivers/gpio/gpio-omap.c:998: undefined reference to irq_gc_mask_set_bit'
make: *** [vmlinux] Error 1

Quoted 1 line

Thanks, I have a fix for this already queued for v3.0-rc3 series:

        http://marc.info/?l=linux-omap&m=130749135312468&w=2

Kevin

author
#2 lore raw

2011/6/28 Kevin Hilman <[email protected]>:

Quoted 14 lines
Quoted 12 lines · Axel Lin

The gpio-omap driver has been converted to use generic IRQ chip. Thus select GENERIC_IRQ_CHIP for TI OMAP1 to fix below build error.

? LD ? ? ?vmlinux
drivers/built-in.o: In function `omap_mpuio_alloc_gc':
drivers/gpio/gpio-omap.c:1087: undefined reference to irq_alloc_generic_chip' drivers/gpio/gpio-omap.c:1100: undefined reference to irq_setup_generic_chip' drivers/built-in.o: In function `omap_gpio_show_rev':
drivers/gpio/gpio-omap.c:998: undefined reference to irq_gc_mask_clr_bit' drivers/gpio/gpio-omap.c:998: undefined reference to irq_gc_mask_set_bit'
make: *** [vmlinux] Error 1

Quoted 6 lines
Quoted 1 line

Thanks, I have a fix for this already queued for v3.0-rc3 series:

? ? ? ?http://marc.info/?l=linux-omap&m=130749135312468&w=2

Hi,
Seems this patch is not upstream.
I still have the same build error with [linux-next: Tree for July 16].

Regards,
Axel

#3 lore raw
Quoted 17 lines · Axel Lin

2011/6/28 Kevin Hilman <[email protected]>:

Quoted 16 lines
Quoted 13 lines · Axel Lin

The gpio-omap driver has been converted to use generic IRQ chip. Thus select GENERIC_IRQ_CHIP for TI OMAP1 to fix below build error.

? LD ? ? ?vmlinux
drivers/built-in.o: In function `omap_mpuio_alloc_gc':
drivers/gpio/gpio-omap.c:1087: undefined reference to irq_alloc_generic_chip' drivers/gpio/gpio-omap.c:1100: undefined reference to irq_setup_generic_chip' drivers/built-in.o: In function `omap_gpio_show_rev':
drivers/gpio/gpio-omap.c:998: undefined reference to irq_gc_mask_clr_bit' drivers/gpio/gpio-omap.c:998: undefined reference to irq_gc_mask_set_bit'
make: *** [vmlinux] Error 1

Quoted 7 lines
Quoted 4 lines

Thanks, I have a fix for this already queued for v3.0-rc3 series:

? ? ? ?http://marc.info/?l=linux-omap&m=130749135312468&w=2

Seems this patch is not upstream.
I still have the same build error with [linux-next: Tree for July 16].

Hmm, you're right. Tony hasn't queued that fix yet.

Tony?

Kevin