X-Git-Url: https://git.karo-electronics.de/?a=blobdiff_plain;f=drivers%2Fi2c%2Fbusses%2Fi2c-ocores.c;h=61653f0796718a479d61e467fec689ae6c130b72;hb=4f680ceafafebed72c302d829d764de72710c169;hp=ef3bcb1ce864f01b9e03e5269acaaaadd108a223;hpb=6fb1b304255efc5c4c93874ac8c066272e257e28;p=mv-sheeva.git diff --git a/drivers/i2c/busses/i2c-ocores.c b/drivers/i2c/busses/i2c-ocores.c index ef3bcb1ce86..61653f07967 100644 --- a/drivers/i2c/busses/i2c-ocores.c +++ b/drivers/i2c/busses/i2c-ocores.c @@ -249,7 +249,7 @@ static struct i2c_adapter ocores_adapter = { static int ocores_i2c_of_probe(struct platform_device* pdev, struct ocores_i2c* i2c) { - __be32* val; + const __be32* val; val = of_get_property(pdev->dev.of_node, "regstep", NULL); if (!val) {