aboutsummaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorJochen Friedrich <jochen@scram.de>2008-01-24 10:17:32 -0500
committerKumar Gala <galak@kernel.crashing.org>2008-01-28 09:31:00 -0500
commitd0a02a06bcdf4525638863d4f18326e5b2bcf279 (patch)
tree83f91648a30a20e792d96b6af58583ad2b97d430 /arch
parent22f19daff442c3ff0d015b7e80b4eedab0231ade (diff)
[POWERPC] 8xx: Rename m8xx_pic_init to mpc8xx_pics_init
m8xx_pic_init calls both mpc8xx_pic_init and cpm_pic_init. Renaming the function to use the same name space as the rest of the mpc8xx specific funtions and to be more meaningful. m8xx_pic_init is declared in ppc8xx_pic.h but defined nowhere in the ppc tree. Remove it. Signed-off-by: Jochen Friedrich <jochen@scram.de> Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Diffstat (limited to 'arch')
-rw-r--r--arch/powerpc/platforms/8xx/ep88xc.c2
-rw-r--r--arch/powerpc/platforms/8xx/m8xx_setup.c4
-rw-r--r--arch/powerpc/platforms/8xx/mpc86xads_setup.c2
-rw-r--r--arch/powerpc/platforms/8xx/mpc885ads_setup.c2
-rw-r--r--arch/powerpc/sysdev/commproc.h2
-rw-r--r--arch/ppc/syslib/ppc8xx_pic.h1
6 files changed, 6 insertions, 7 deletions
diff --git a/arch/powerpc/platforms/8xx/ep88xc.c b/arch/powerpc/platforms/8xx/ep88xc.c
index 88afa353f1d2..372b1e2921e7 100644
--- a/arch/powerpc/platforms/8xx/ep88xc.c
+++ b/arch/powerpc/platforms/8xx/ep88xc.c
@@ -165,7 +165,7 @@ define_machine(ep88xc) {
165 .name = "Embedded Planet EP88xC", 165 .name = "Embedded Planet EP88xC",
166 .probe = ep88xc_probe, 166 .probe = ep88xc_probe,
167 .setup_arch = ep88xc_setup_arch, 167 .setup_arch = ep88xc_setup_arch,
168 .init_IRQ = m8xx_pic_init, 168 .init_IRQ = mpc8xx_pics_init,
169 .get_irq = mpc8xx_get_irq, 169 .get_irq = mpc8xx_get_irq,
170 .restart = mpc8xx_restart, 170 .restart = mpc8xx_restart,
171 .calibrate_decr = mpc8xx_calibrate_decr, 171 .calibrate_decr = mpc8xx_calibrate_decr,
diff --git a/arch/powerpc/platforms/8xx/m8xx_setup.c b/arch/powerpc/platforms/8xx/m8xx_setup.c
index ba645c2b63f6..13374574502d 100644
--- a/arch/powerpc/platforms/8xx/m8xx_setup.c
+++ b/arch/powerpc/platforms/8xx/m8xx_setup.c
@@ -237,13 +237,13 @@ static void cpm_cascade(unsigned int irq, struct irq_desc *desc)
237 desc->chip->eoi(irq); 237 desc->chip->eoi(irq);
238} 238}
239 239
240/* Initialize the internal interrupt controller. The number of 240/* Initialize the internal interrupt controllers. The number of
241 * interrupts supported can vary with the processor type, and the 241 * interrupts supported can vary with the processor type, and the
242 * 82xx family can have up to 64. 242 * 82xx family can have up to 64.
243 * External interrupts can be either edge or level triggered, and 243 * External interrupts can be either edge or level triggered, and
244 * need to be initialized by the appropriate driver. 244 * need to be initialized by the appropriate driver.
245 */ 245 */
246void __init m8xx_pic_init(void) 246void __init mpc8xx_pics_init(void)
247{ 247{
248 int irq; 248 int irq;
249 249
diff --git a/arch/powerpc/platforms/8xx/mpc86xads_setup.c b/arch/powerpc/platforms/8xx/mpc86xads_setup.c
index d7965f885209..2a4a50f8e749 100644
--- a/arch/powerpc/platforms/8xx/mpc86xads_setup.c
+++ b/arch/powerpc/platforms/8xx/mpc86xads_setup.c
@@ -138,7 +138,7 @@ define_machine(mpc86x_ads) {
138 .name = "MPC86x ADS", 138 .name = "MPC86x ADS",
139 .probe = mpc86xads_probe, 139 .probe = mpc86xads_probe,
140 .setup_arch = mpc86xads_setup_arch, 140 .setup_arch = mpc86xads_setup_arch,
141 .init_IRQ = m8xx_pic_init, 141 .init_IRQ = mpc8xx_pics_init,
142 .get_irq = mpc8xx_get_irq, 142 .get_irq = mpc8xx_get_irq,
143 .restart = mpc8xx_restart, 143 .restart = mpc8xx_restart,
144 .calibrate_decr = mpc8xx_calibrate_decr, 144 .calibrate_decr = mpc8xx_calibrate_decr,
diff --git a/arch/powerpc/platforms/8xx/mpc885ads_setup.c b/arch/powerpc/platforms/8xx/mpc885ads_setup.c
index 6ef8e9e6b8c3..2931bae9c6af 100644
--- a/arch/powerpc/platforms/8xx/mpc885ads_setup.c
+++ b/arch/powerpc/platforms/8xx/mpc885ads_setup.c
@@ -274,7 +274,7 @@ define_machine(mpc885_ads) {
274 .name = "Freescale MPC885 ADS", 274 .name = "Freescale MPC885 ADS",
275 .probe = mpc885ads_probe, 275 .probe = mpc885ads_probe,
276 .setup_arch = mpc885ads_setup_arch, 276 .setup_arch = mpc885ads_setup_arch,
277 .init_IRQ = m8xx_pic_init, 277 .init_IRQ = mpc8xx_pics_init,
278 .get_irq = mpc8xx_get_irq, 278 .get_irq = mpc8xx_get_irq,
279 .restart = mpc8xx_restart, 279 .restart = mpc8xx_restart,
280 .calibrate_decr = mpc8xx_calibrate_decr, 280 .calibrate_decr = mpc8xx_calibrate_decr,
diff --git a/arch/powerpc/sysdev/commproc.h b/arch/powerpc/sysdev/commproc.h
index 9155ba467274..f481adf313f5 100644
--- a/arch/powerpc/sysdev/commproc.h
+++ b/arch/powerpc/sysdev/commproc.h
@@ -6,7 +6,7 @@ extern void mpc8xx_restart(char *cmd);
6extern void mpc8xx_calibrate_decr(void); 6extern void mpc8xx_calibrate_decr(void);
7extern int mpc8xx_set_rtc_time(struct rtc_time *tm); 7extern int mpc8xx_set_rtc_time(struct rtc_time *tm);
8extern void mpc8xx_get_rtc_time(struct rtc_time *tm); 8extern void mpc8xx_get_rtc_time(struct rtc_time *tm);
9extern void m8xx_pic_init(void); 9extern void mpc8xx_pics_init(void);
10extern unsigned int mpc8xx_get_irq(void); 10extern unsigned int mpc8xx_get_irq(void);
11 11
12#endif 12#endif
diff --git a/arch/ppc/syslib/ppc8xx_pic.h b/arch/ppc/syslib/ppc8xx_pic.h
index d7d9f651a91b..53bcd97ef7f5 100644
--- a/arch/ppc/syslib/ppc8xx_pic.h
+++ b/arch/ppc/syslib/ppc8xx_pic.h
@@ -6,7 +6,6 @@
6 6
7extern struct hw_interrupt_type ppc8xx_pic; 7extern struct hw_interrupt_type ppc8xx_pic;
8 8
9void m8xx_pic_init(void);
10void m8xx_do_IRQ(struct pt_regs *regs, 9void m8xx_do_IRQ(struct pt_regs *regs,
11 int cpu); 10 int cpu);
12int m8xx_get_irq(struct pt_regs *regs); 11int m8xx_get_irq(struct pt_regs *regs);