From: Ben Dooks Date: Wed, 21 May 2008 09:24:46 +0000 (+0100) Subject: [ARM] 5040/1: BAST: Fix DM9000 IRQ flags initialisation X-Git-Tag: v2.6.26-rc4~12^2~10 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=ace94f9efb8ad2c21b308b3bdf02db984d8b3c5f;p=linux-2.6-omap-h63xx.git [ARM] 5040/1: BAST: Fix DM9000 IRQ flags initialisation Add the IRQF_TRIGGER_ type to the DM9000 IRQ resource to stop the driver itself complaining it was not given any flags to use. Signed-off-by: Ben Dooks Signed-off-by: Russell King --- diff --git a/arch/arm/mach-s3c2410/mach-bast.c b/arch/arm/mach-s3c2410/mach-bast.c index 661a2358ac2..27f63d5d3a7 100644 --- a/arch/arm/mach-s3c2410/mach-bast.c +++ b/arch/arm/mach-s3c2410/mach-bast.c @@ -374,7 +374,7 @@ static struct resource bast_dm9k_resource[] = { [2] = { .start = IRQ_DM9000, .end = IRQ_DM9000, - .flags = IORESOURCE_IRQ, + .flags = IORESOURCE_IRQ | IRQF_TRIGGER_HIGH, } };