projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge branch 'x86-platform-for-linus' of git://git.kernel.org/pub/scm/linux/kernel...
[firefly-linux-kernel-4.4.55.git]
/
drivers
/
i2c
/
busses
/
i2c-ocores.c
diff --git
a/drivers/i2c/busses/i2c-ocores.c
b/drivers/i2c/busses/i2c-ocores.c
index c2ef5ce1f1ffc66a1b367e8a63582bbdee43fbac..1b46a9d9f907336fb70526ca93881ce3b3934950 100644
(file)
--- 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) {