aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--arch/arm/mach-at91rm9200/devices.c10
-rw-r--r--arch/avr32/mach-at32ap/at32ap7000.c40
-rw-r--r--drivers/serial/atmel_serial.c2
3 files changed, 26 insertions, 26 deletions
diff --git a/arch/arm/mach-at91rm9200/devices.c b/arch/arm/mach-at91rm9200/devices.c
index 2d6b8b3a74a5..28fd4b8f4742 100644
--- a/arch/arm/mach-at91rm9200/devices.c
+++ b/arch/arm/mach-at91rm9200/devices.c
@@ -564,7 +564,7 @@ static struct at91_uart_data dbgu_data = {
564}; 564};
565 565
566static struct platform_device at91rm9200_dbgu_device = { 566static struct platform_device at91rm9200_dbgu_device = {
567 .name = "at91_usart", 567 .name = "atmel_usart",
568 .id = 0, 568 .id = 0,
569 .dev = { 569 .dev = {
570 .platform_data = &dbgu_data, 570 .platform_data = &dbgu_data,
@@ -599,7 +599,7 @@ static struct at91_uart_data uart0_data = {
599}; 599};
600 600
601static struct platform_device at91rm9200_uart0_device = { 601static struct platform_device at91rm9200_uart0_device = {
602 .name = "at91_usart", 602 .name = "atmel_usart",
603 .id = 1, 603 .id = 1,
604 .dev = { 604 .dev = {
605 .platform_data = &uart0_data, 605 .platform_data = &uart0_data,
@@ -641,7 +641,7 @@ static struct at91_uart_data uart1_data = {
641}; 641};
642 642
643static struct platform_device at91rm9200_uart1_device = { 643static struct platform_device at91rm9200_uart1_device = {
644 .name = "at91_usart", 644 .name = "atmel_usart",
645 .id = 2, 645 .id = 2,
646 .dev = { 646 .dev = {
647 .platform_data = &uart1_data, 647 .platform_data = &uart1_data,
@@ -682,7 +682,7 @@ static struct at91_uart_data uart2_data = {
682}; 682};
683 683
684static struct platform_device at91rm9200_uart2_device = { 684static struct platform_device at91rm9200_uart2_device = {
685 .name = "at91_usart", 685 .name = "atmel_usart",
686 .id = 3, 686 .id = 3,
687 .dev = { 687 .dev = {
688 .platform_data = &uart2_data, 688 .platform_data = &uart2_data,
@@ -717,7 +717,7 @@ static struct at91_uart_data uart3_data = {
717}; 717};
718 718
719static struct platform_device at91rm9200_uart3_device = { 719static struct platform_device at91rm9200_uart3_device = {
720 .name = "at91_usart", 720 .name = "atmel_usart",
721 .id = 4, 721 .id = 4,
722 .dev = { 722 .dev = {
723 .platform_data = &uart3_data, 723 .platform_data = &uart3_data,
diff --git a/arch/avr32/mach-at32ap/at32ap7000.c b/arch/avr32/mach-at32ap/at32ap7000.c
index 37982b60398e..842e7be7fb5e 100644
--- a/arch/avr32/mach-at32ap/at32ap7000.c
+++ b/arch/avr32/mach-at32ap/at32ap7000.c
@@ -523,33 +523,33 @@ void __init at32_add_system_devices(void)
523 * USART 523 * USART
524 * -------------------------------------------------------------------- */ 524 * -------------------------------------------------------------------- */
525 525
526static struct resource usart0_resource[] = { 526static struct resource atmel_usart0_resource[] = {
527 PBMEM(0xffe00c00), 527 PBMEM(0xffe00c00),
528 IRQ(7), 528 IRQ(7),
529}; 529};
530DEFINE_DEV(usart, 0); 530DEFINE_DEV(atmel_usart, 0);
531DEV_CLK(usart, usart0, pba, 4); 531DEV_CLK(usart, atmel_usart0, pba, 4);
532 532
533static struct resource usart1_resource[] = { 533static struct resource atmel_usart1_resource[] = {
534 PBMEM(0xffe01000), 534 PBMEM(0xffe01000),
535 IRQ(7), 535 IRQ(7),
536}; 536};
537DEFINE_DEV(usart, 1); 537DEFINE_DEV(atmel_usart, 1);
538DEV_CLK(usart, usart1, pba, 4); 538DEV_CLK(usart, atmel_usart1, pba, 4);
539 539
540static struct resource usart2_resource[] = { 540static struct resource atmel_usart2_resource[] = {
541 PBMEM(0xffe01400), 541 PBMEM(0xffe01400),
542 IRQ(8), 542 IRQ(8),
543}; 543};
544DEFINE_DEV(usart, 2); 544DEFINE_DEV(atmel_usart, 2);
545DEV_CLK(usart, usart2, pba, 5); 545DEV_CLK(usart, atmel_usart2, pba, 5);
546 546
547static struct resource usart3_resource[] = { 547static struct resource atmel_usart3_resource[] = {
548 PBMEM(0xffe01800), 548 PBMEM(0xffe01800),
549 IRQ(9), 549 IRQ(9),
550}; 550};
551DEFINE_DEV(usart, 3); 551DEFINE_DEV(atmel_usart, 3);
552DEV_CLK(usart, usart3, pba, 6); 552DEV_CLK(usart, atmel_usart3, pba, 6);
553 553
554static inline void configure_usart0_pins(void) 554static inline void configure_usart0_pins(void)
555{ 555{
@@ -581,19 +581,19 @@ static struct platform_device *setup_usart(unsigned int id)
581 581
582 switch (id) { 582 switch (id) {
583 case 0: 583 case 0:
584 pdev = &usart0_device; 584 pdev = &atmel_usart0_device;
585 configure_usart0_pins(); 585 configure_usart0_pins();
586 break; 586 break;
587 case 1: 587 case 1:
588 pdev = &usart1_device; 588 pdev = &atmel_usart1_device;
589 configure_usart1_pins(); 589 configure_usart1_pins();
590 break; 590 break;
591 case 2: 591 case 2:
592 pdev = &usart2_device; 592 pdev = &atmel_usart2_device;
593 configure_usart2_pins(); 593 configure_usart2_pins();
594 break; 594 break;
595 case 3: 595 case 3:
596 pdev = &usart3_device; 596 pdev = &atmel_usart3_device;
597 configure_usart3_pins(); 597 configure_usart3_pins();
598 break; 598 break;
599 default: 599 default:
@@ -813,10 +813,10 @@ struct clk *at32_clock_list[] = {
813 &pio1_mck, 813 &pio1_mck,
814 &pio2_mck, 814 &pio2_mck,
815 &pio3_mck, 815 &pio3_mck,
816 &usart0_usart, 816 &atmel_usart0_usart,
817 &usart1_usart, 817 &atmel_usart1_usart,
818 &usart2_usart, 818 &atmel_usart2_usart,
819 &usart3_usart, 819 &atmel_usart3_usart,
820 &macb0_hclk, 820 &macb0_hclk,
821 &macb0_pclk, 821 &macb0_pclk,
822 &spi0_mck, 822 &spi0_mck,
diff --git a/drivers/serial/atmel_serial.c b/drivers/serial/atmel_serial.c
index b96382da27e0..f14a07ed60b8 100644
--- a/drivers/serial/atmel_serial.c
+++ b/drivers/serial/atmel_serial.c
@@ -947,7 +947,7 @@ static struct platform_driver at91_serial_driver = {
947 .suspend = at91_serial_suspend, 947 .suspend = at91_serial_suspend,
948 .resume = at91_serial_resume, 948 .resume = at91_serial_resume,
949 .driver = { 949 .driver = {
950 .name = "at91_usart", 950 .name = "atmel_usart",
951 .owner = THIS_MODULE, 951 .owner = THIS_MODULE,
952 }, 952 },
953}; 953};