aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-pxa/pxa27x.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/pxa27x.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/pxa27x.c')
-rw-r--r--arch/arm/mach-pxa/pxa27x.c30
1 files changed, 15 insertions, 15 deletions
diff --git a/arch/arm/mach-pxa/pxa27x.c b/arch/arm/mach-pxa/pxa27x.c
index aa5bb02c897b..c85f0b01c326 100644
--- a/arch/arm/mach-pxa/pxa27x.c
+++ b/arch/arm/mach-pxa/pxa27x.c
@@ -185,7 +185,7 @@ static struct resource pxa27x_ohci_resources[] = {
185 }, 185 },
186}; 186};
187 187
188static struct platform_device pxaohci_device = { 188static struct platform_device pxa27x_device_ohci = {
189 .name = "pxa27x-ohci", 189 .name = "pxa27x-ohci",
190 .id = -1, 190 .id = -1,
191 .dev = { 191 .dev = {
@@ -198,7 +198,7 @@ static struct platform_device pxaohci_device = {
198 198
199void __init pxa_set_ohci_info(struct pxaohci_platform_data *info) 199void __init pxa_set_ohci_info(struct pxaohci_platform_data *info)
200{ 200{
201 pxaohci_device.dev.platform_data = info; 201 pxa27x_device_ohci.dev.platform_data = info;
202} 202}
203 203
204static struct resource i2c_power_resources[] = { 204static struct resource i2c_power_resources[] = {
@@ -213,7 +213,7 @@ static struct resource i2c_power_resources[] = {
213 }, 213 },
214}; 214};
215 215
216static struct platform_device pxai2c_power_device = { 216static struct platform_device pxa27x_device_i2c_power = {
217 .name = "pxa2xx-i2c", 217 .name = "pxa2xx-i2c",
218 .id = 1, 218 .id = 1,
219 .resource = i2c_power_resources, 219 .resource = i2c_power_resources,
@@ -221,18 +221,18 @@ static struct platform_device pxai2c_power_device = {
221}; 221};
222 222
223static struct platform_device *devices[] __initdata = { 223static struct platform_device *devices[] __initdata = {
224 &pxamci_device, 224 &pxa_device_mci,
225 &pxaudc_device, 225 &pxa_device_udc,
226 &pxafb_device, 226 &pxa_device_fb,
227 &ffuart_device, 227 &pxa_device_ffuart,
228 &btuart_device, 228 &pxa_device_btuart,
229 &stuart_device, 229 &pxa_device_stuart,
230 &pxai2c_device, 230 &pxa_device_i2c,
231 &pxai2c_power_device, 231 &pxa_device_i2s,
232 &pxai2s_device, 232 &pxa_device_ficp,
233 &pxaficp_device, 233 &pxa_device_rtc,
234 &pxartc_device, 234 &pxa27x_device_i2c_power,
235 &pxaohci_device, 235 &pxa27x_device_ohci,
236}; 236};
237 237
238void __init pxa27x_init_irq(void) 238void __init pxa27x_init_irq(void)