Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e355204e authored by Ben Dooks's avatar Ben Dooks
Browse files

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
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;