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_sun4v.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_sun4v.c')
-rw-r--r-- | arch/sparc64/kernel/pci_sun4v.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/sparc64/kernel/pci_sun4v.c b/arch/sparc64/kernel/pci_sun4v.c index 0a101cb22320..ea61fec206a7 100644 --- a/arch/sparc64/kernel/pci_sun4v.c +++ b/arch/sparc64/kernel/pci_sun4v.c | |||
@@ -1236,6 +1236,7 @@ static void pci_sun4v_pbm_init(struct pci_controller_info *p, struct device_node | |||
1236 | pci_pbm_root = pbm; | 1236 | pci_pbm_root = pbm; |
1237 | 1237 | ||
1238 | pbm->scan_bus = pci_sun4v_scan_bus; | 1238 | pbm->scan_bus = pci_sun4v_scan_bus; |
1239 | pbm->pci_ops = &pci_sun4v_ops; | ||
1239 | 1240 | ||
1240 | pbm->parent = p; | 1241 | pbm->parent = p; |
1241 | pbm->prom_node = dp; | 1242 | pbm->prom_node = dp; |
@@ -1306,7 +1307,6 @@ void sun4v_pci_init(struct device_node *dp, char *model_name) | |||
1306 | p->setup_msi_irq = pci_sun4v_setup_msi_irq; | 1307 | p->setup_msi_irq = pci_sun4v_setup_msi_irq; |
1307 | p->teardown_msi_irq = pci_sun4v_teardown_msi_irq; | 1308 | p->teardown_msi_irq = pci_sun4v_teardown_msi_irq; |
1308 | #endif | 1309 | #endif |
1309 | p->pci_ops = &pci_sun4v_ops; | ||
1310 | 1310 | ||
1311 | /* Like PSYCHO and SCHIZO we have a 2GB aligned area | 1311 | /* Like PSYCHO and SCHIZO we have a 2GB aligned area |
1312 | * for memory space. | 1312 | * for memory space. |