diff options
author | David S. Miller <davem@sunset.davemloft.net> | 2007-05-08 02:24:05 -0400 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2007-05-08 19:41:32 -0400 |
commit | f1cd8de2c951e206b57fd76aff279cf13ea25815 (patch) | |
tree | 67b24b716b53fbcc6bdfcbfe6d75e1348e0e9f1a /arch/sparc64/kernel/pci_sabre.c | |
parent | 96a496fd49fb2c3178128237ae4691b7c7df3a3d (diff) |
[SPARC64]: Move pci_ops into pci_pbm_info.
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/sparc64/kernel/pci_sabre.c')
-rw-r--r-- | arch/sparc64/kernel/pci_sabre.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/sparc64/kernel/pci_sabre.c b/arch/sparc64/kernel/pci_sabre.c index 024dbd8ad025..ec265a30af43 100644 --- a/arch/sparc64/kernel/pci_sabre.c +++ b/arch/sparc64/kernel/pci_sabre.c | |||
@@ -1004,6 +1004,7 @@ static void sabre_pbm_init(struct pci_controller_info *p, struct device_node *dp | |||
1004 | printk("%s: SABRE PCI Bus Module\n", pbm->name); | 1004 | printk("%s: SABRE PCI Bus Module\n", pbm->name); |
1005 | 1005 | ||
1006 | pbm->scan_bus = sabre_scan_bus; | 1006 | pbm->scan_bus = sabre_scan_bus; |
1007 | pbm->pci_ops = &sabre_ops; | ||
1007 | 1008 | ||
1008 | pbm->chip_type = PBM_CHIP_TYPE_SABRE; | 1009 | pbm->chip_type = PBM_CHIP_TYPE_SABRE; |
1009 | pbm->parent = p; | 1010 | pbm->parent = p; |
@@ -1062,7 +1063,6 @@ void sabre_init(struct device_node *dp, char *model_name) | |||
1062 | 1063 | ||
1063 | p->pbm_A.portid = upa_portid; | 1064 | p->pbm_A.portid = upa_portid; |
1064 | p->index = pci_num_controllers++; | 1065 | p->index = pci_num_controllers++; |
1065 | p->pci_ops = &sabre_ops; | ||
1066 | 1066 | ||
1067 | /* | 1067 | /* |
1068 | * Map in SABRE register set and report the presence of this SABRE. | 1068 | * Map in SABRE register set and report the presence of this SABRE. |