diff options
author | Ben Dooks <ben-linux@fluff.org> | 2008-12-16 17:08:08 -0500 |
---|---|---|
committer | Ben Dooks <ben-linux@fluff.org> | 2008-12-16 17:08:08 -0500 |
commit | e355204ef70181d28544ebb65a64969340ef4822 (patch) | |
tree | 2e670dc520cb55e584e376d0ee3f269e52dc983d /drivers/i2c | |
parent | 5a93f42017a3d1dc7869939d46d4158732227dd7 (diff) |
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: Ben Dooks <ben-linux@fluff.org>
Diffstat (limited to 'drivers/i2c')
-rw-r--r-- | drivers/i2c/busses/i2c-omap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/i2c/busses/i2c-omap.c b/drivers/i2c/busses/i2c-omap.c index 96f3bedb2799..be8ee2cac8bb 100644 --- a/drivers/i2c/busses/i2c-omap.c +++ b/drivers/i2c/busses/i2c-omap.c | |||
@@ -772,7 +772,7 @@ omap_i2c_probe(struct platform_device *pdev) | |||
772 | struct omap_i2c_dev *dev; | 772 | struct omap_i2c_dev *dev; |
773 | struct i2c_adapter *adap; | 773 | struct i2c_adapter *adap; |
774 | struct resource *mem, *irq, *ioarea; | 774 | struct resource *mem, *irq, *ioarea; |
775 | void *isr; | 775 | irq_handler_t isr; |
776 | int r; | 776 | int r; |
777 | u32 speed = 0; | 777 | u32 speed = 0; |
778 | 778 | ||