aboutsummaryrefslogtreecommitdiffstats
path: root/arch/sparc64/kernel/pci_psycho.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/sparc64/kernel/pci_psycho.c')
-rw-r--r--arch/sparc64/kernel/pci_psycho.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/arch/sparc64/kernel/pci_psycho.c b/arch/sparc64/kernel/pci_psycho.c
index 1717df549488..c3f212725b04 100644
--- a/arch/sparc64/kernel/pci_psycho.c
+++ b/arch/sparc64/kernel/pci_psycho.c
@@ -894,14 +894,6 @@ static void psycho_register_error_handlers(struct pci_controller_info *p)
894} 894}
895 895
896/* PSYCHO boot time probing and initialization. */ 896/* PSYCHO boot time probing and initialization. */
897static void psycho_resource_adjust(struct pci_dev *pdev,
898 struct resource *res,
899 struct resource *root)
900{
901 res->start += root->start;
902 res->end += root->start;
903}
904
905static void psycho_base_address_update(struct pci_dev *pdev, int resource) 897static void psycho_base_address_update(struct pci_dev *pdev, int resource)
906{ 898{
907 struct pci_pbm_info *pbm = pdev->dev.archdata.host_controller; 899 struct pci_pbm_info *pbm = pdev->dev.archdata.host_controller;
@@ -1218,7 +1210,6 @@ void psycho_init(struct device_node *dp, char *model_name)
1218 p->pbms_same_domain = 0; 1210 p->pbms_same_domain = 0;
1219 p->scan_bus = psycho_scan_bus; 1211 p->scan_bus = psycho_scan_bus;
1220 p->base_address_update = psycho_base_address_update; 1212 p->base_address_update = psycho_base_address_update;
1221 p->resource_adjust = psycho_resource_adjust;
1222 p->pci_ops = &psycho_ops; 1213 p->pci_ops = &psycho_ops;
1223 1214
1224 prop = of_find_property(dp, "reg", NULL); 1215 prop = of_find_property(dp, "reg", NULL);