]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commitdiff
[ARM] 5066/2: EM-X270: Fix DM9000 IRQ flags initialisation
authorMike Rapoport <mike@compulab.co.il>
Mon, 2 Jun 2008 11:58:23 +0000 (12:58 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Mon, 2 Jun 2008 12:40:21 +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/em-x270.c

index edc4f07a230d3c9a5d61c9d63b4dc35f94c1a5b9..9c57700ee5c29a0e8eb26a8bddd630f3432c218c 100644 (file)
@@ -50,7 +50,7 @@ static struct resource em_x270_dm9k_resource[] = {
        [2] = {
                .start = EM_X270_ETHIRQ,
                .end   = EM_X270_ETHIRQ,
-               .flags = IORESOURCE_IRQ,
+               .flags = IORESOURCE_IRQ | IORESOURCE_IRQ_HIGHEDGE,
        }
 };