[2.6 patch] mips/pci/fixup-rc32434.c must #include <asm/mach-rc32434/irq.h> - Kernel

This is a discussion on [2.6 patch] mips/pci/fixup-rc32434.c must #include <asm/mach-rc32434/irq.h> - Kernel ; This patch fixes the following compile error caused by commit 606a083b1e1a357cb66454e4581b80f1a67d8368 (MIPS: RB532: Cleanup the headers again): .... CC arch/mips/pci/fixup-rc32434.o arch/mips/pci/fixup-rc32434.c: In function 'pcibios_map_irq': arch/mips/pci/fixup-rc32434.c:46: error: 'GROUP4_IRQ_BASE' undeclared (first use in this function) arch/mips/pci/fixup-rc32434.c:46: error: (Each undeclared identifier is reported ...

+ Reply to Thread
Results 1 to 2 of 2

Thread: [2.6 patch] mips/pci/fixup-rc32434.c must #include <asm/mach-rc32434/irq.h>

  1. [2.6 patch] mips/pci/fixup-rc32434.c must #include <asm/mach-rc32434/irq.h>

    This patch fixes the following compile error caused by
    commit 606a083b1e1a357cb66454e4581b80f1a67d8368
    (MIPS: RB532: Cleanup the headers again):

    <-- snip -->

    ....
    CC arch/mips/pci/fixup-rc32434.o
    arch/mips/pci/fixup-rc32434.c: In function 'pcibios_map_irq':
    arch/mips/pci/fixup-rc32434.c:46: error: 'GROUP4_IRQ_BASE' undeclared (first use in this function)
    arch/mips/pci/fixup-rc32434.c:46: error: (Each undeclared identifier is reported only once
    arch/mips/pci/fixup-rc32434.c:46: error: for each function it appears in.)
    make[2]: *** [arch/mips/pci/fixup-rc32434.o] Error 1

    <-- snip -->


    Signed-off-by: Adrian Bunk

    ---

    diff --git a/arch/mips/pci/fixup-rc32434.c b/arch/mips/pci/fixup-rc32434.c
    index 75b90dc..3d86823 100644
    --- a/arch/mips/pci/fixup-rc32434.c
    +++ b/arch/mips/pci/fixup-rc32434.c
    @@ -30,6 +30,7 @@
    #include

    #include
    +#include

    static int __devinitdata irq_map[2][12] = {
    {0, 0, 2, 3, 2, 3, 0, 0, 0, 0, 0, 1},

    --
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/

  2. Re: [2.6 patch] mips/pci/fixup-rc32434.c must #include <asm/mach-rc32434/irq.h>

    On Sun, Oct 12, 2008 at 04:01:35PM +0300, Adrian Bunk wrote:

    Thanks, applied.

    Ralf
    --
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/

+ Reply to Thread