Commit e355204e authored by Ben Dooks's avatar 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: default avatarBen Dooks <ben-linux@fluff.org>
parent 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%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment