diff options
Diffstat (limited to 'arch/powerpc/platforms/83xx')
-rw-r--r-- | arch/powerpc/platforms/83xx/mpc8313_rdb.c | 2 | ||||
-rw-r--r-- | arch/powerpc/platforms/83xx/mpc832x_mds.c | 2 | ||||
-rw-r--r-- | arch/powerpc/platforms/83xx/mpc832x_rdb.c | 2 | ||||
-rw-r--r-- | arch/powerpc/platforms/83xx/mpc834x_itx.c | 2 | ||||
-rw-r--r-- | arch/powerpc/platforms/83xx/mpc834x_mds.c | 2 | ||||
-rw-r--r-- | arch/powerpc/platforms/83xx/mpc836x_mds.c | 2 | ||||
-rw-r--r-- | arch/powerpc/platforms/83xx/mpc83xx.h | 2 | ||||
-rw-r--r-- | arch/powerpc/platforms/83xx/pci.c | 2 |
8 files changed, 8 insertions, 8 deletions
diff --git a/arch/powerpc/platforms/83xx/mpc8313_rdb.c b/arch/powerpc/platforms/83xx/mpc8313_rdb.c index 96970ac887ee..ecf34fac8372 100644 --- a/arch/powerpc/platforms/83xx/mpc8313_rdb.c +++ b/arch/powerpc/platforms/83xx/mpc8313_rdb.c | |||
@@ -49,7 +49,7 @@ static void __init mpc8313_rdb_setup_arch(void) | |||
49 | 49 | ||
50 | #ifdef CONFIG_PCI | 50 | #ifdef CONFIG_PCI |
51 | for (np = NULL; (np = of_find_node_by_type(np, "pci")) != NULL;) | 51 | for (np = NULL; (np = of_find_node_by_type(np, "pci")) != NULL;) |
52 | add_bridge(np); | 52 | mpc83xx_add_bridge(np); |
53 | 53 | ||
54 | ppc_md.pci_exclude_device = mpc83xx_exclude_device; | 54 | ppc_md.pci_exclude_device = mpc83xx_exclude_device; |
55 | #endif | 55 | #endif |
diff --git a/arch/powerpc/platforms/83xx/mpc832x_mds.c b/arch/powerpc/platforms/83xx/mpc832x_mds.c index 94843ed52a93..55e8079510e3 100644 --- a/arch/powerpc/platforms/83xx/mpc832x_mds.c +++ b/arch/powerpc/platforms/83xx/mpc832x_mds.c | |||
@@ -80,7 +80,7 @@ static void __init mpc832x_sys_setup_arch(void) | |||
80 | 80 | ||
81 | #ifdef CONFIG_PCI | 81 | #ifdef CONFIG_PCI |
82 | for (np = NULL; (np = of_find_node_by_type(np, "pci")) != NULL;) | 82 | for (np = NULL; (np = of_find_node_by_type(np, "pci")) != NULL;) |
83 | add_bridge(np); | 83 | mpc83xx_add_bridge(np); |
84 | ppc_md.pci_exclude_device = mpc83xx_exclude_device; | 84 | ppc_md.pci_exclude_device = mpc83xx_exclude_device; |
85 | #endif | 85 | #endif |
86 | 86 | ||
diff --git a/arch/powerpc/platforms/83xx/mpc832x_rdb.c b/arch/powerpc/platforms/83xx/mpc832x_rdb.c index 3db68b73fc32..8b790d4d0741 100644 --- a/arch/powerpc/platforms/83xx/mpc832x_rdb.c +++ b/arch/powerpc/platforms/83xx/mpc832x_rdb.c | |||
@@ -53,7 +53,7 @@ static void __init mpc832x_rdb_setup_arch(void) | |||
53 | 53 | ||
54 | #ifdef CONFIG_PCI | 54 | #ifdef CONFIG_PCI |
55 | for (np = NULL; (np = of_find_node_by_type(np, "pci")) != NULL;) | 55 | for (np = NULL; (np = of_find_node_by_type(np, "pci")) != NULL;) |
56 | add_bridge(np); | 56 | mpc83xx_add_bridge(np); |
57 | 57 | ||
58 | ppc_md.pci_exclude_device = mpc83xx_exclude_device; | 58 | ppc_md.pci_exclude_device = mpc83xx_exclude_device; |
59 | #endif | 59 | #endif |
diff --git a/arch/powerpc/platforms/83xx/mpc834x_itx.c b/arch/powerpc/platforms/83xx/mpc834x_itx.c index 40a01947d684..120c5d25c709 100644 --- a/arch/powerpc/platforms/83xx/mpc834x_itx.c +++ b/arch/powerpc/platforms/83xx/mpc834x_itx.c | |||
@@ -59,7 +59,7 @@ static void __init mpc834x_itx_setup_arch(void) | |||
59 | 59 | ||
60 | #ifdef CONFIG_PCI | 60 | #ifdef CONFIG_PCI |
61 | for (np = NULL; (np = of_find_node_by_type(np, "pci")) != NULL;) | 61 | for (np = NULL; (np = of_find_node_by_type(np, "pci")) != NULL;) |
62 | add_bridge(np); | 62 | mpc83xx_add_bridge(np); |
63 | 63 | ||
64 | ppc_md.pci_exclude_device = mpc83xx_exclude_device; | 64 | ppc_md.pci_exclude_device = mpc83xx_exclude_device; |
65 | #endif | 65 | #endif |
diff --git a/arch/powerpc/platforms/83xx/mpc834x_mds.c b/arch/powerpc/platforms/83xx/mpc834x_mds.c index 10394b2d7e7a..d64d5a5ae00c 100644 --- a/arch/powerpc/platforms/83xx/mpc834x_mds.c +++ b/arch/powerpc/platforms/83xx/mpc834x_mds.c | |||
@@ -129,7 +129,7 @@ static void __init mpc834x_mds_setup_arch(void) | |||
129 | 129 | ||
130 | #ifdef CONFIG_PCI | 130 | #ifdef CONFIG_PCI |
131 | for (np = NULL; (np = of_find_node_by_type(np, "pci")) != NULL;) | 131 | for (np = NULL; (np = of_find_node_by_type(np, "pci")) != NULL;) |
132 | add_bridge(np); | 132 | mpc83xx_add_bridge(np); |
133 | 133 | ||
134 | ppc_md.pci_exclude_device = mpc83xx_exclude_device; | 134 | ppc_md.pci_exclude_device = mpc83xx_exclude_device; |
135 | #endif | 135 | #endif |
diff --git a/arch/powerpc/platforms/83xx/mpc836x_mds.c b/arch/powerpc/platforms/83xx/mpc836x_mds.c index bceeff8bbfd2..bf3be3741129 100644 --- a/arch/powerpc/platforms/83xx/mpc836x_mds.c +++ b/arch/powerpc/platforms/83xx/mpc836x_mds.c | |||
@@ -86,7 +86,7 @@ static void __init mpc836x_mds_setup_arch(void) | |||
86 | 86 | ||
87 | #ifdef CONFIG_PCI | 87 | #ifdef CONFIG_PCI |
88 | for (np = NULL; (np = of_find_node_by_type(np, "pci")) != NULL;) | 88 | for (np = NULL; (np = of_find_node_by_type(np, "pci")) != NULL;) |
89 | add_bridge(np); | 89 | mpc83xx_add_bridge(np); |
90 | ppc_md.pci_exclude_device = mpc83xx_exclude_device; | 90 | ppc_md.pci_exclude_device = mpc83xx_exclude_device; |
91 | #endif | 91 | #endif |
92 | 92 | ||
diff --git a/arch/powerpc/platforms/83xx/mpc83xx.h b/arch/powerpc/platforms/83xx/mpc83xx.h index 9cd03b59c8f4..9bd85f5e9a56 100644 --- a/arch/powerpc/platforms/83xx/mpc83xx.h +++ b/arch/powerpc/platforms/83xx/mpc83xx.h | |||
@@ -27,7 +27,7 @@ | |||
27 | * mpc83xx_* files. Mostly for use by mpc83xx_setup | 27 | * mpc83xx_* files. Mostly for use by mpc83xx_setup |
28 | */ | 28 | */ |
29 | 29 | ||
30 | extern int add_bridge(struct device_node *dev); | 30 | extern int mpc83xx_add_bridge(struct device_node *dev); |
31 | extern int mpc83xx_exclude_device(u_char bus, u_char devfn); | 31 | extern int mpc83xx_exclude_device(u_char bus, u_char devfn); |
32 | extern void mpc83xx_restart(char *cmd); | 32 | extern void mpc83xx_restart(char *cmd); |
33 | extern long mpc83xx_time_init(void); | 33 | extern long mpc83xx_time_init(void); |
diff --git a/arch/powerpc/platforms/83xx/pci.c b/arch/powerpc/platforms/83xx/pci.c index 774457d09e94..1752d4577aaf 100644 --- a/arch/powerpc/platforms/83xx/pci.c +++ b/arch/powerpc/platforms/83xx/pci.c | |||
@@ -45,7 +45,7 @@ int mpc83xx_exclude_device(u_char bus, u_char devfn) | |||
45 | return PCIBIOS_SUCCESSFUL; | 45 | return PCIBIOS_SUCCESSFUL; |
46 | } | 46 | } |
47 | 47 | ||
48 | int __init add_bridge(struct device_node *dev) | 48 | int __init mpc83xx_add_bridge(struct device_node *dev) |
49 | { | 49 | { |
50 | int len; | 50 | int len; |
51 | struct pci_controller *hose; | 51 | struct pci_controller *hose; |