aboutsummaryrefslogtreecommitdiffstats
path: root/arch/sparc64/kernel/pci_sun4v.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/sparc64/kernel/pci_sun4v.c')
-rw-r--r--arch/sparc64/kernel/pci_sun4v.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/arch/sparc64/kernel/pci_sun4v.c b/arch/sparc64/kernel/pci_sun4v.c
index 9b57ba1cb947..ce0417e776a1 100644
--- a/arch/sparc64/kernel/pci_sun4v.c
+++ b/arch/sparc64/kernel/pci_sun4v.c
@@ -743,14 +743,6 @@ static void pci_sun4v_base_address_update(struct pci_dev *pdev, int resource)
743 pci_write_config_dword(pdev, where + 4, 0); 743 pci_write_config_dword(pdev, where + 4, 0);
744} 744}
745 745
746static void pci_sun4v_resource_adjust(struct pci_dev *pdev,
747 struct resource *res,
748 struct resource *root)
749{
750 res->start += root->start;
751 res->end += root->start;
752}
753
754static unsigned long probe_existing_entries(struct pci_pbm_info *pbm, 746static unsigned long probe_existing_entries(struct pci_pbm_info *pbm,
755 struct pci_iommu *iommu) 747 struct pci_iommu *iommu)
756{ 748{
@@ -1387,7 +1379,6 @@ void sun4v_pci_init(struct device_node *dp, char *model_name)
1387 1379
1388 p->scan_bus = pci_sun4v_scan_bus; 1380 p->scan_bus = pci_sun4v_scan_bus;
1389 p->base_address_update = pci_sun4v_base_address_update; 1381 p->base_address_update = pci_sun4v_base_address_update;
1390 p->resource_adjust = pci_sun4v_resource_adjust;
1391#ifdef CONFIG_PCI_MSI 1382#ifdef CONFIG_PCI_MSI
1392 p->setup_msi_irq = pci_sun4v_setup_msi_irq; 1383 p->setup_msi_irq = pci_sun4v_setup_msi_irq;
1393 p->teardown_msi_irq = pci_sun4v_teardown_msi_irq; 1384 p->teardown_msi_irq = pci_sun4v_teardown_msi_irq;