[POWERPC] Rename get_property to of_get_property: arch/powerpc
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au> Acked-by: Benjamin Herrenschmidt <benh@kernel.crashing.org> Signed-off-by: Paul Mackerras <paulus@samba.org>
This commit is contained in:

zatwierdzone przez
Paul Mackerras

rodzic
ceef87782a
commit
e2eb63927b
@@ -789,10 +789,10 @@ static void *early_enable_eeh(struct device_node *dn, void *data)
|
||||
unsigned int rets[3];
|
||||
struct eeh_early_enable_info *info = data;
|
||||
int ret;
|
||||
const char *status = get_property(dn, "status", NULL);
|
||||
const u32 *class_code = get_property(dn, "class-code", NULL);
|
||||
const u32 *vendor_id = get_property(dn, "vendor-id", NULL);
|
||||
const u32 *device_id = get_property(dn, "device-id", NULL);
|
||||
const char *status = of_get_property(dn, "status", NULL);
|
||||
const u32 *class_code = of_get_property(dn, "class-code", NULL);
|
||||
const u32 *vendor_id = of_get_property(dn, "vendor-id", NULL);
|
||||
const u32 *device_id = of_get_property(dn, "device-id", NULL);
|
||||
const u32 *regs;
|
||||
int enable;
|
||||
struct pci_dn *pdn = PCI_DN(dn);
|
||||
@@ -835,7 +835,7 @@ static void *early_enable_eeh(struct device_node *dn, void *data)
|
||||
|
||||
/* Ok... see if this device supports EEH. Some do, some don't,
|
||||
* and the only way to find out is to check each and every one. */
|
||||
regs = get_property(dn, "reg", NULL);
|
||||
regs = of_get_property(dn, "reg", NULL);
|
||||
if (regs) {
|
||||
/* First register entry is addr (00BBSS00) */
|
||||
/* Try to enable eeh */
|
||||
|
Reference in New Issue
Block a user