[PATCH 24/61] Change references from 82xx_ADS to 8272ADS.
Scott Wood
scottwood at freescale.com
Wed Jul 18 11:35:30 EST 2007
Signed-off-by: Scott Wood <scottwood at freescale.com>
---
arch/powerpc/platforms/82xx/mpc8272ads.c | 33 +++++++++++++++--------------
1 files changed, 17 insertions(+), 16 deletions(-)
diff --git a/arch/powerpc/platforms/82xx/mpc8272ads.c b/arch/powerpc/platforms/82xx/mpc8272ads.c
index 1945522..29c2932 100644
--- a/arch/powerpc/platforms/82xx/mpc8272ads.c
+++ b/arch/powerpc/platforms/82xx/mpc8272ads.c
@@ -1,5 +1,5 @@
/*
- * MPC82xx_ads setup and early boot code plus other random bits.
+ * MPC8272ADS setup and early boot code plus other random bits.
*
* Author: Vitaly Bordug <vbordug at ru.mvista.com>
* m82xx_restart fix by Wade Farnsworth <wfarnsworth at mvista.com>
@@ -65,7 +65,7 @@ static struct irq_host *pci_pic_host;
static struct device_node *pci_pic_node;
#endif
-static void __init mpc82xx_ads_pic_init(void)
+static void __init mpc8272ads_pic_init(void)
{
struct device_node *np = of_find_compatible_node(NULL, "cpm-pic", "CPM2");
struct resource r;
@@ -282,7 +282,7 @@ void init_scc_ioports(struct fs_uart_platform_info *data)
}
}
-void __init m82xx_board_setup(void)
+void __init mpc8272ads_board_setup(void)
{
cpm2_map_t *immap = ioremap(get_immrbase(), sizeof(cpm2_map_t));
struct device_node *np;
@@ -562,19 +562,19 @@ static void __init mpc82xx_add_bridge(struct device_node *np)
/*
* Setup the architecture
*/
-static void __init mpc82xx_ads_setup_arch(void)
+static void __init mpc8272ads_setup_arch(void)
{
#ifdef CONFIG_PCI
struct device_node *np;
#endif
if (ppc_md.progress)
- ppc_md.progress("mpc82xx_ads_setup_arch()", 0);
+ ppc_md.progress("mpc8272ads_setup_arch()", 0);
cpm2_reset();
/* Map I/O region to a 256MB BAT */
- m82xx_board_setup();
+ mpc8272ads_board_setup();
#ifdef CONFIG_PCI
ppc_md.pci_exclude_device = m82xx_pci_exclude_device;
@@ -591,13 +591,13 @@ static void __init mpc82xx_ads_setup_arch(void)
#endif
if (ppc_md.progress)
- ppc_md.progress("mpc82xx_ads_setup_arch(), finish", 0);
+ ppc_md.progress("mpc8272ads_setup_arch(), finish", 0);
}
/*
* Called very early, device-tree isn't unflattened
*/
-static int __init mpc82xx_ads_probe(void)
+static int __init mpc8272ads_probe(void)
{
/* We always match for now, eventually we should look at
* the flat dev tree to ensure this is the board we are
@@ -627,14 +627,15 @@ static void m82xx_halt(void)
while (1) ;
}
-define_machine(mpc82xx_ads)
+define_machine(mpc8272ads)
{
.name = "Freescale MPC8272ADS",
- .probe = mpc82xx_ads_probe,
- .setup_arch = mpc82xx_ads_setup_arch,
- .init_IRQ = mpc82xx_ads_pic_init,
- .show_cpuinfo = m82xx_show_cpuinfo,
- .get_irq = cpm2_get_irq,
- .calibrate_decr = m82xx_calibrate_decr,
- .restart = m82xx_restart,.halt = m82xx_halt,
+ .probe = mpc8272ads_probe,
+ .setup_arch = mpc8272ads_setup_arch,
+ .init_IRQ = mpc8272ads_pic_init,
+ .show_cpuinfo = m82xx_show_cpuinfo,
+ .get_irq = cpm2_get_irq,
+ .calibrate_decr = m82xx_calibrate_decr,
+ .restart = m82xx_restart,
+ .halt = m82xx_halt,
};
--
1.5.0.3
More information about the Linuxppc-dev
mailing list