mfd: Correct ASIC3 IRQ_OWM resource setup
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Sat, 11 Dec 2010 13:00:34 +0000 (13:00 +0000)
committerSamuel Ortiz <sameo@linux.intel.com>
Fri, 14 Jan 2011 11:37:50 +0000 (12:37 +0100)
We should specify both a start and an end for the IRQ range rather than
initialise the start twice.

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
drivers/mfd/asic3.c

index 6b82eb0fa55c586e7737d4352ea04be5eccd0636..3c7dc5ebfe4d9b4e984e188658dc9ed837a079b2 100644 (file)
@@ -635,7 +635,7 @@ static struct resource ds1wm_resources[] = {
        },
        {
                .start = ASIC3_IRQ_OWM,
-               .start = ASIC3_IRQ_OWM,
+               .end   = ASIC3_IRQ_OWM,
                .flags = IORESOURCE_IRQ | IORESOURCE_IRQ_HIGHEDGE,
        },
 };