summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/platforms/40x/walnut.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/powerpc/platforms/40x/walnut.c')
-rw-r--r--arch/powerpc/platforms/40x/walnut.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/platforms/40x/walnut.c b/arch/powerpc/platforms/40x/walnut.c
index 335df91fbee5..8b691df72f74 100644
--- a/arch/powerpc/platforms/40x/walnut.c
+++ b/arch/powerpc/platforms/40x/walnut.c
@@ -51,7 +51,7 @@ static int __init walnut_probe(void)
if (!of_flat_dt_is_compatible(root, "ibm,walnut"))
return 0;
- ppc_pci_flags = PPC_PCI_REASSIGN_ALL_RSRC;
+ pci_set_flags(PCI_REASSIGN_ALL_RSRC);
return 1;
}