File tree Expand file tree Collapse file tree 2 files changed +3
-4
lines changed Expand file tree Collapse file tree 2 files changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -609,13 +609,12 @@ static int __init i2c_adap_imx_init(void)
609
609
{
610
610
return platform_driver_probe (& i2c_imx_driver , i2c_imx_probe );
611
611
}
612
+ subsys_initcall (i2c_adap_imx_init );
612
613
613
614
static void __exit i2c_adap_imx_exit (void )
614
615
{
615
616
platform_driver_unregister (& i2c_imx_driver );
616
617
}
617
-
618
- module_init (i2c_adap_imx_init );
619
618
module_exit (i2c_adap_imx_exit );
620
619
621
620
MODULE_LICENSE ("GPL" );
Original file line number Diff line number Diff line change @@ -293,13 +293,13 @@ mv64xxx_i2c_do_action(struct mv64xxx_i2c_data *drv_data)
293
293
}
294
294
}
295
295
296
- static int
296
+ static irqreturn_t
297
297
mv64xxx_i2c_intr (int irq , void * dev_id )
298
298
{
299
299
struct mv64xxx_i2c_data * drv_data = dev_id ;
300
300
unsigned long flags ;
301
301
u32 status ;
302
- int rc = IRQ_NONE ;
302
+ irqreturn_t rc = IRQ_NONE ;
303
303
304
304
spin_lock_irqsave (& drv_data -> lock , flags );
305
305
while (readl (drv_data -> reg_base + MV64XXX_I2C_REG_CONTROL ) &
You can’t perform that action at this time.
0 commit comments