diff options
Diffstat (limited to 'drivers/i2c/busses/i2c-pxa.c')
-rw-r--r-- | drivers/i2c/busses/i2c-pxa.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/i2c/busses/i2c-pxa.c b/drivers/i2c/busses/i2c-pxa.c index 5155010b455e..cd4ad98ad517 100644 --- a/drivers/i2c/busses/i2c-pxa.c +++ b/drivers/i2c/busses/i2c-pxa.c | |||
@@ -926,7 +926,7 @@ static u32 i2c_pxa_functionality(struct i2c_adapter *adap) | |||
926 | return I2C_FUNC_I2C | I2C_FUNC_SMBUS_EMUL; | 926 | return I2C_FUNC_I2C | I2C_FUNC_SMBUS_EMUL; |
927 | } | 927 | } |
928 | 928 | ||
929 | static struct i2c_algorithm i2c_pxa_algorithm = { | 929 | static const struct i2c_algorithm i2c_pxa_algorithm = { |
930 | .master_xfer = i2c_pxa_xfer, | 930 | .master_xfer = i2c_pxa_xfer, |
931 | .functionality = i2c_pxa_functionality, | 931 | .functionality = i2c_pxa_functionality, |
932 | }; | 932 | }; |
@@ -968,7 +968,7 @@ static int i2c_pxa_probe(struct platform_device *dev) | |||
968 | #endif | 968 | #endif |
969 | 969 | ||
970 | pxa_set_cken(CKEN14_I2C, 1); | 970 | pxa_set_cken(CKEN14_I2C, 1); |
971 | ret = request_irq(IRQ_I2C, i2c_pxa_handler, SA_INTERRUPT, | 971 | ret = request_irq(IRQ_I2C, i2c_pxa_handler, IRQF_DISABLED, |
972 | "pxa2xx-i2c", i2c); | 972 | "pxa2xx-i2c", i2c); |
973 | if (ret) | 973 | if (ret) |
974 | goto out; | 974 | goto out; |