diff options
Diffstat (limited to 'drivers/i2c/busses/i2c-mpc.c')
-rw-r--r-- | drivers/i2c/busses/i2c-mpc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/i2c/busses/i2c-mpc.c b/drivers/i2c/busses/i2c-mpc.c index 75b8d867dae1..6f33496d31c3 100644 --- a/drivers/i2c/busses/i2c-mpc.c +++ b/drivers/i2c/busses/i2c-mpc.c | |||
@@ -55,7 +55,7 @@ | |||
55 | #define CSR_RXAK 0x01 | 55 | #define CSR_RXAK 0x01 |
56 | 56 | ||
57 | struct mpc_i2c { | 57 | struct mpc_i2c { |
58 | char *base; | 58 | void __iomem *base; |
59 | u32 interrupt; | 59 | u32 interrupt; |
60 | wait_queue_head_t queue; | 60 | wait_queue_head_t queue; |
61 | struct i2c_adapter adap; | 61 | struct i2c_adapter adap; |
@@ -444,7 +444,7 @@ static int fsl_i2c_probe(struct device *device) | |||
444 | 444 | ||
445 | fail_add: | 445 | fail_add: |
446 | if (i2c->irq != 0) | 446 | if (i2c->irq != 0) |
447 | free_irq(i2c->irq, 0); | 447 | free_irq(i2c->irq, NULL); |
448 | fail_irq: | 448 | fail_irq: |
449 | iounmap(i2c->base); | 449 | iounmap(i2c->base); |
450 | fail_map: | 450 | fail_map: |