提交 67cd724f 编写于 作者: A Alan Cox 提交者: Linus Torvalds

cafe_nand: Fix warning

Wrong types on IRQ handler
Signed-off-by: NAlan Cox <alan@linux.intel.com>
Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
上级 97c68d00
...@@ -332,7 +332,7 @@ static void cafe_select_chip(struct mtd_info *mtd, int chipnr) ...@@ -332,7 +332,7 @@ static void cafe_select_chip(struct mtd_info *mtd, int chipnr)
cafe->ctl1 &= ~CTRL1_CHIPSELECT; 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 mtd_info *mtd = id;
struct cafe_priv *cafe = mtd->priv; struct cafe_priv *cafe = mtd->priv;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册