aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/i2c/busses/i2c-mpc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/i2c/busses/i2c-mpc.c b/drivers/i2c/busses/i2c-mpc.c
index b76731edbf10..775062c95a2c 100644
--- a/drivers/i2c/busses/i2c-mpc.c
+++ b/drivers/i2c/busses/i2c-mpc.c
@@ -647,7 +647,7 @@ static int __devinit fsl_i2c_probe(struct platform_device *op)
647 } 647 }
648 648
649 if (match->data) { 649 if (match->data) {
650 struct mpc_i2c_data *data = match->data; 650 const struct mpc_i2c_data *data = match->data;
651 data->setup(op->dev.of_node, i2c, clock, data->prescaler); 651 data->setup(op->dev.of_node, i2c, clock, data->prescaler);
652 } else { 652 } else {
653 /* Backwards compatibility */ 653 /* Backwards compatibility */