提交 e355204e 编写于 作者: B Ben Dooks

i2c-omap: fix type of irq handler function

The probe function used a pointer to the interrupt
handler to register as a 'void *', change it to the
proper type of irq_handler_t.
Signed-off-by: NBen Dooks <ben-linux@fluff.org>
上级 5a93f420
......@@ -772,7 +772,7 @@ omap_i2c_probe(struct platform_device *pdev)
struct omap_i2c_dev *dev;
struct i2c_adapter *adap;
struct resource *mem, *irq, *ioarea;
void *isr;
irq_handler_t isr;
int r;
u32 speed = 0;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册