mirror of
https://github.com/torvalds/linux.git
synced 2026-05-26 08:02:27 +02:00
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>
This commit is contained in:
parent
5a93f42017
commit
e355204ef7
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user