From: Ben Dooks Date: Tue, 16 Dec 2008 22:08:08 +0000 (+0000) Subject: i2c-omap: fix type of irq handler function X-Git-Tag: v2.6.29-rc1~497^2~1 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=e355204ef70181d28544ebb65a64969340ef4822;p=linux-2.6-omap-h63xx.git 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 --- diff --git a/drivers/i2c/busses/i2c-omap.c b/drivers/i2c/busses/i2c-omap.c index 96f3bedb279..be8ee2cac8b 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) 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;