aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-pxa/pxa25x.c
diff options
context:
space:
mode:
authorEric Miao <eric.y.miao@gmail.com>2007-07-17 05:45:58 -0400
committerRussell King <rmk+kernel@arm.linux.org.uk>2007-07-20 04:57:18 -0400
commite09d02e123fb6944af23a0697369ebcfc15acf73 (patch)
tree029a534f45c899f4ccad6290087fdf0d5716a9d2 /arch/arm/mach-pxa/pxa25x.c
parent9a79b2274186fade17134929d4f85b70d59a3840 (diff)
[ARM] 4480/1: pxa: change the pxa device naming scheme
1. for common devices across all the pxa variants, the names are changed to be: "pxa_device_xxx" 2. for pxa25x or pxa27x specific devices, the names are changed to be: "pxa25x_device_xxx", or "pxa27x_device_xxx" Signed-off-by: eric miao <eric.y.miao@gmail.com> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/mach-pxa/pxa25x.c')
-rw-r--r--arch/arm/mach-pxa/pxa25x.c22
1 files changed, 11 insertions, 11 deletions
diff --git a/arch/arm/mach-pxa/pxa25x.c b/arch/arm/mach-pxa/pxa25x.c
index f36ca448338e..9d9422e2f75c 100644
--- a/arch/arm/mach-pxa/pxa25x.c
+++ b/arch/arm/mach-pxa/pxa25x.c
@@ -139,16 +139,16 @@ void __init pxa25x_init_irq(void)
139} 139}
140 140
141static struct platform_device *pxa25x_devices[] __initdata = { 141static struct platform_device *pxa25x_devices[] __initdata = {
142 &pxamci_device, 142 &pxa_device_mci,
143 &pxaudc_device, 143 &pxa_device_udc,
144 &pxafb_device, 144 &pxa_device_fb,
145 &ffuart_device, 145 &pxa_device_ffuart,
146 &btuart_device, 146 &pxa_device_btuart,
147 &stuart_device, 147 &pxa_device_stuart,
148 &pxai2c_device, 148 &pxa_device_i2c,
149 &pxai2s_device, 149 &pxa_device_i2s,
150 &pxaficp_device, 150 &pxa_device_ficp,
151 &pxartc_device, 151 &pxa_device_rtc,
152}; 152};
153 153
154static int __init pxa25x_init(void) 154static int __init pxa25x_init(void)
@@ -166,7 +166,7 @@ static int __init pxa25x_init(void)
166 } 166 }
167 /* Only add HWUART for PXA255/26x; PXA210/250/27x do not have it. */ 167 /* Only add HWUART for PXA255/26x; PXA210/250/27x do not have it. */
168 if (cpu_is_pxa25x()) 168 if (cpu_is_pxa25x())
169 ret = platform_device_register(&hwuart_device); 169 ret = platform_device_register(&pxa_device_hwuart);
170 170
171 return ret; 171 return ret;
172} 172}