Skip to content

Commit

Permalink
i2c-omap: fix type of irq handler function
Browse files Browse the repository at this point in the history
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: Ben Dooks <ben-linux@fluff.org>
  • Loading branch information
Ben Dooks committed Dec 16, 2008
1 parent 5a93f42 commit e355204
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/i2c/busses/i2c-omap.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit e355204

Please sign in to comment.