summaryrefslogtreecommitdiffstats
path: root/arch/sparc64/kernel/pci_schizo.c
diff options
context:
space:
mode:
authorDavid S. Miller <davem@sunset.davemloft.net>2007-05-07 23:24:05 -0700
committerDavid S. Miller <davem@sunset.davemloft.net>2007-05-08 16:41:32 -0700
commitf1cd8de2c951e206b57fd76aff279cf13ea25815 (patch)
tree67b24b716b53fbcc6bdfcbfe6d75e1348e0e9f1a /arch/sparc64/kernel/pci_schizo.c
parent96a496fd49fb2c3178128237ae4691b7c7df3a3d (diff)
downloadop-kernel-dev-f1cd8de2c951e206b57fd76aff279cf13ea25815.zip
op-kernel-dev-f1cd8de2c951e206b57fd76aff279cf13ea25815.tar.gz
[SPARC64]: Move pci_ops into pci_pbm_info.
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/sparc64/kernel/pci_schizo.c')
-rw-r--r--arch/sparc64/kernel/pci_schizo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/sparc64/kernel/pci_schizo.c b/arch/sparc64/kernel/pci_schizo.c
index 4ebdcbd..a0da7f2 100644
--- a/arch/sparc64/kernel/pci_schizo.c
+++ b/arch/sparc64/kernel/pci_schizo.c
@@ -1462,6 +1462,7 @@ static void schizo_pbm_init(struct pci_controller_info *p,
pci_pbm_root = pbm;
pbm->scan_bus = schizo_scan_bus;
+ pbm->pci_ops = &schizo_ops;
pbm->portid = portid;
pbm->parent = p;
@@ -1536,7 +1537,6 @@ static void __schizo_init(struct device_node *dp, char *model_name, int chip_typ
p->pbm_B.iommu = iommu;
p->index = pci_num_controllers++;
- p->pci_ops = &schizo_ops;
/* Like PSYCHO we have a 2GB aligned area for memory space. */
pci_memspace_mask = 0x7fffffffUL;
OpenPOWER on IntegriCloud