[PATCH] omap1: select GENERIC_IRQ_CHIP for TI OMAP1

Kevin Hilman khilman at ti.com
Mon Jul 18 10:52:07 EDT 2011


Axel Lin <axel.lin at gmail.com> writes:

> 2011/6/28 Kevin Hilman <khilman at ti.com>:
>> Axel Lin <axel.lin at gmail.com> writes:
>>
>>> 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
>>>
>>> Signed-off-by: Axel Lin <axel.lin at gmail.com>
>>
>> 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



More information about the linux-arm-kernel mailing list