cafe_nand: Fix warning
authorAlan Cox <alan@lxorguk.ukuu.org.uk>
Wed, 22 Apr 2009 14:02:23 +0000 (15:02 +0100)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 24 Apr 2009 14:52:08 +0000 (07:52 -0700)
Wrong types on IRQ handler

Signed-off-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/mtd/nand/cafe_nand.c

index 7c5b257ce8e482c8a974fae8b6eb8ba286a39277..29acd06b1c39709000b65973d29a75f41dfd347d 100644 (file)
@@ -332,7 +332,7 @@ static void cafe_select_chip(struct mtd_info *mtd, int chipnr)
                cafe->ctl1 &= ~CTRL1_CHIPSELECT;
 }
 
-static int cafe_nand_interrupt(int irq, void *id)
+static irqreturn_t cafe_nand_interrupt(int irq, void *id)
 {
        struct mtd_info *mtd = id;
        struct cafe_priv *cafe = mtd->priv;