aboutsummaryrefslogtreecommitdiff
path: root/arch/powerpc/boot/mv64x60_i2c.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/powerpc/boot/mv64x60_i2c.c')
-rw-r--r--arch/powerpc/boot/mv64x60_i2c.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/boot/mv64x60_i2c.c b/arch/powerpc/boot/mv64x60_i2c.c
index d085377be3b..52a3212b663 100644
--- a/arch/powerpc/boot/mv64x60_i2c.c
+++ b/arch/powerpc/boot/mv64x60_i2c.c
@@ -185,7 +185,7 @@ int mv64x60_i2c_open(void)
u32 v;
void *devp;
- devp = finddevice("/mv64x60/i2c");
+ devp = find_node_by_compatible(NULL, "marvell,mv64360-i2c");
if (devp == NULL)
goto err_out;
if (getprop(devp, "virtual-reg", &v, sizeof(v)) != sizeof(v))