]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
[ARM] 5065/2: CM-X270: Fix DM9000 IRQ flags initialisation
authorMike Rapoport <mike@compulab.co.il>
Mon, 2 Jun 2008 11:58:24 +0000 (12:58 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Mon, 2 Jun 2008 12:40:19 +0000 (13:40 +0100)
Add the IORESOURCE_IRQ_HIGHEDGE to the DM9000 IRQ resource
to stop the driver itself complaining it was not given
any flags to use.

Signed-off-by: Mike Rapoport <mike@compulab.co.il>
Acked-by: Eric Miao <eric.miao@marvell.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/mach-pxa/cm-x270.c

index 6d4416a4f378807e17b886862d012acbe51fca3c..f5851d1adc25890c800ed52be3dfe0cfed84dbbf 100644 (file)
@@ -59,7 +59,7 @@ static struct resource cmx270_dm9k_resource[] = {
        [2] = {
                .start = CMX270_ETHIRQ,
                .end   = CMX270_ETHIRQ,
-               .flags = IORESOURCE_IRQ,
+               .flags = IORESOURCE_IRQ | IORESOURCE_IRQ_HIGHEDGE,
        }
 };