diff options
author | Stephen Rothwell <sfr@canb.auug.org.au> | 2007-04-29 10:29:08 +0400 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2007-04-30 05:02:05 +0400 |
commit | 12d371a69e6df96cd949af6bcb569e978e8f9d41 (patch) | |
tree | 30ed043c2d262b1bf25cbc0a1e19111dc7ac407e /arch/powerpc/platforms/pasemi/gpio_mdio.c | |
parent | 8d1cea6e1439a113b1f17eab9b4e2f0cfc24bbb0 (diff) | |
download | linux-12d371a69e6df96cd949af6bcb569e978e8f9d41.tar.xz |
[POWERPC] get_property cleanups
Just another pass through arch/powerpc for old usages.
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'arch/powerpc/platforms/pasemi/gpio_mdio.c')
-rw-r--r-- | arch/powerpc/platforms/pasemi/gpio_mdio.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/powerpc/platforms/pasemi/gpio_mdio.c b/arch/powerpc/platforms/pasemi/gpio_mdio.c index b1d3b6b420ae..c91a33593bb8 100644 --- a/arch/powerpc/platforms/pasemi/gpio_mdio.c +++ b/arch/powerpc/platforms/pasemi/gpio_mdio.c @@ -258,7 +258,7 @@ static int __devinit gpio_mdio_probe(struct of_device *ofdev, new_bus->write = &gpio_mdio_write, new_bus->reset = &gpio_mdio_reset, - prop = get_property(np, "reg", NULL); + prop = of_get_property(np, "reg", NULL); new_bus->id = *prop; new_bus->priv = priv; @@ -269,10 +269,10 @@ static int __devinit gpio_mdio_probe(struct of_device *ofdev, new_bus->irq[i] = irq_create_mapping(NULL, 10); - prop = get_property(np, "mdc-pin", NULL); + prop = of_get_property(np, "mdc-pin", NULL); priv->mdc_pin = *prop; - prop = get_property(np, "mdio-pin", NULL); + prop = of_get_property(np, "mdio-pin", NULL); priv->mdio_pin = *prop; new_bus->dev = dev; |