Browse Source

[ARM] 5066/2: EM-X270: Fix DM9000 IRQ flags initialisation

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>
Mike Rapoport 17 years ago
parent
commit
31ab3ffb2b
1 changed files with 1 additions and 1 deletions
  1. 1 1
      arch/arm/mach-pxa/em-x270.c

+ 1 - 1
arch/arm/mach-pxa/em-x270.c

@@ -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,
 	}
 };