[POWERPC] Rename get_property to of_get_property: drivers
These are all the remaining instances of get_property. Simple rename of get_property to of_get_property. Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au> Signed-off-by: Paul Mackerras <paulus@samba.org>
This commit is contained in:
committed by
Paul Mackerras
parent
9f9a3b8a06
commit
40cd3a4564
@@ -110,9 +110,9 @@ static int __devinit mace_probe(struct macio_dev *mdev, const struct of_device_i
|
||||
return -ENODEV;
|
||||
}
|
||||
|
||||
addr = get_property(mace, "mac-address", NULL);
|
||||
addr = of_get_property(mace, "mac-address", NULL);
|
||||
if (addr == NULL) {
|
||||
addr = get_property(mace, "local-mac-address", NULL);
|
||||
addr = of_get_property(mace, "local-mac-address", NULL);
|
||||
if (addr == NULL) {
|
||||
printk(KERN_ERR "Can't get mac-address for MACE %s\n",
|
||||
mace->full_name);
|
||||
|
Reference in New Issue
Block a user