aboutsummaryrefslogtreecommitdiffstats
path: root/arch/ppc/kernel/pci.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/ppc/kernel/pci.c')
-rw-r--r--arch/ppc/kernel/pci.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/arch/ppc/kernel/pci.c b/arch/ppc/kernel/pci.c
index 854e45beb387..2d3c557538b5 100644
--- a/arch/ppc/kernel/pci.c
+++ b/arch/ppc/kernel/pci.c
@@ -644,7 +644,7 @@ pcibios_alloc_controller(void)
644/* 644/*
645 * Functions below are used on OpenFirmware machines. 645 * Functions below are used on OpenFirmware machines.
646 */ 646 */
647static void __openfirmware 647static void
648make_one_node_map(struct device_node* node, u8 pci_bus) 648make_one_node_map(struct device_node* node, u8 pci_bus)
649{ 649{
650 int *bus_range; 650 int *bus_range;
@@ -678,7 +678,7 @@ make_one_node_map(struct device_node* node, u8 pci_bus)
678 } 678 }
679} 679}
680 680
681void __openfirmware 681void
682pcibios_make_OF_bus_map(void) 682pcibios_make_OF_bus_map(void)
683{ 683{
684 int i; 684 int i;
@@ -720,7 +720,7 @@ pcibios_make_OF_bus_map(void)
720 720
721typedef int (*pci_OF_scan_iterator)(struct device_node* node, void* data); 721typedef int (*pci_OF_scan_iterator)(struct device_node* node, void* data);
722 722
723static struct device_node* __openfirmware 723static struct device_node*
724scan_OF_pci_childs(struct device_node* node, pci_OF_scan_iterator filter, void* data) 724scan_OF_pci_childs(struct device_node* node, pci_OF_scan_iterator filter, void* data)
725{ 725{
726 struct device_node* sub_node; 726 struct device_node* sub_node;
@@ -761,7 +761,7 @@ scan_OF_pci_childs_iterator(struct device_node* node, void* data)
761 return 0; 761 return 0;
762} 762}
763 763
764static struct device_node* __openfirmware 764static struct device_node*
765scan_OF_childs_for_device(struct device_node* node, u8 bus, u8 dev_fn) 765scan_OF_childs_for_device(struct device_node* node, u8 bus, u8 dev_fn)
766{ 766{
767 u8 filter_data[2] = {bus, dev_fn}; 767 u8 filter_data[2] = {bus, dev_fn};
@@ -842,7 +842,7 @@ pci_find_hose_for_OF_device(struct device_node* node)
842 return NULL; 842 return NULL;
843} 843}
844 844
845static int __openfirmware 845static int
846find_OF_pci_device_filter(struct device_node* node, void* data) 846find_OF_pci_device_filter(struct device_node* node, void* data)
847{ 847{
848 return ((void *)node == data); 848 return ((void *)node == data);