diff options
Diffstat (limited to 'arch')
| -rw-r--r-- | arch/arm/mach-pxa/devices.c | 20 | ||||
| -rw-r--r-- | arch/arm/mach-sa1100/generic.c | 20 |
2 files changed, 0 insertions, 40 deletions
diff --git a/arch/arm/mach-pxa/devices.c b/arch/arm/mach-pxa/devices.c index 18fd177073f4..5bc13121eac5 100644 --- a/arch/arm/mach-pxa/devices.c +++ b/arch/arm/mach-pxa/devices.c | |||
| @@ -415,29 +415,9 @@ static struct resource pxa_rtc_resources[] = { | |||
| 415 | }, | 415 | }, |
| 416 | }; | 416 | }; |
| 417 | 417 | ||
| 418 | static struct resource sa1100_rtc_resources[] = { | ||
| 419 | [0] = { | ||
| 420 | .start = 0x40900000, | ||
| 421 | .end = 0x409000ff, | ||
| 422 | .flags = IORESOURCE_MEM, | ||
| 423 | }, | ||
| 424 | [1] = { | ||
| 425 | .start = IRQ_RTC1Hz, | ||
| 426 | .end = IRQ_RTC1Hz, | ||
| 427 | .flags = IORESOURCE_IRQ, | ||
| 428 | }, | ||
| 429 | [2] = { | ||
| 430 | .start = IRQ_RTCAlrm, | ||
| 431 | .end = IRQ_RTCAlrm, | ||
| 432 | .flags = IORESOURCE_IRQ, | ||
| 433 | }, | ||
| 434 | }; | ||
| 435 | |||
| 436 | struct platform_device sa1100_device_rtc = { | 418 | struct platform_device sa1100_device_rtc = { |
| 437 | .name = "sa1100-rtc", | 419 | .name = "sa1100-rtc", |
| 438 | .id = -1, | 420 | .id = -1, |
| 439 | .num_resources = ARRAY_SIZE(sa1100_rtc_resources), | ||
| 440 | .resource = sa1100_rtc_resources, | ||
| 441 | }; | 421 | }; |
| 442 | 422 | ||
| 443 | struct platform_device pxa_device_rtc = { | 423 | struct platform_device pxa_device_rtc = { |
diff --git a/arch/arm/mach-sa1100/generic.c b/arch/arm/mach-sa1100/generic.c index e3a28ca2a7b7..a7c0df6e670c 100644 --- a/arch/arm/mach-sa1100/generic.c +++ b/arch/arm/mach-sa1100/generic.c | |||
| @@ -350,29 +350,9 @@ void sa11x0_register_irda(struct irda_platform_data *irda) | |||
| 350 | sa11x0_register_device(&sa11x0ir_device, irda); | 350 | sa11x0_register_device(&sa11x0ir_device, irda); |
| 351 | } | 351 | } |
| 352 | 352 | ||
| 353 | static struct resource sa11x0rtc_resources[] = { | ||
| 354 | [0] = { | ||
| 355 | .start = 0x90010000, | ||
| 356 | .end = 0x900100ff, | ||
| 357 | .flags = IORESOURCE_MEM, | ||
| 358 | }, | ||
| 359 | [1] = { | ||
| 360 | .start = IRQ_RTC1Hz, | ||
| 361 | .end = IRQ_RTC1Hz, | ||
| 362 | .flags = IORESOURCE_IRQ, | ||
| 363 | }, | ||
| 364 | [2] = { | ||
| 365 | .start = IRQ_RTCAlrm, | ||
| 366 | .end = IRQ_RTCAlrm, | ||
| 367 | .flags = IORESOURCE_IRQ, | ||
| 368 | }, | ||
| 369 | }; | ||
| 370 | |||
| 371 | static struct platform_device sa11x0rtc_device = { | 353 | static struct platform_device sa11x0rtc_device = { |
| 372 | .name = "sa1100-rtc", | 354 | .name = "sa1100-rtc", |
| 373 | .id = -1, | 355 | .id = -1, |
| 374 | .resource = sa11x0rtc_resources, | ||
| 375 | .num_resources = ARRAY_SIZE(sa11x0rtc_resources), | ||
| 376 | }; | 356 | }; |
| 377 | 357 | ||
| 378 | static struct platform_device *sa11x0_devices[] __initdata = { | 358 | static struct platform_device *sa11x0_devices[] __initdata = { |
