[PATCH] at91_serial -> atmel_serial: Platform device name
[linux-2.6.git] / arch / arm / mach-at91rm9200 / devices.c
index db7c684..28fd4b8 100644 (file)
@@ -131,8 +131,8 @@ static struct at91_eth_data eth_data;
 
 static struct resource at91_eth_resources[] = {
        [0] = {
-               .start  = AT91RM9200_BASE_EMAC,
-               .end    = AT91RM9200_BASE_EMAC + SZ_16K - 1,
+               .start  = AT91_VA_BASE_EMAC,
+               .end    = AT91_VA_BASE_EMAC + SZ_16K - 1,
                .flags  = IORESOURCE_MEM,
        },
        [1] = {
@@ -544,7 +544,7 @@ void __init at91_init_leds(u8 cpu_led, u8 timer_led) {}
  *  UART
  * -------------------------------------------------------------------- */
 
-#if defined(CONFIG_SERIAL_AT91)
+#if defined(CONFIG_SERIAL_ATMEL)
 static struct resource dbgu_resources[] = {
        [0] = {
                .start  = AT91_VA_BASE_SYS + AT91_DBGU,
@@ -564,7 +564,7 @@ static struct at91_uart_data dbgu_data = {
 };
 
 static struct platform_device at91rm9200_dbgu_device = {
-       .name           = "at91_usart",
+       .name           = "atmel_usart",
        .id             = 0,
        .dev            = {
                                .platform_data  = &dbgu_data,
@@ -599,7 +599,7 @@ static struct at91_uart_data uart0_data = {
 };
 
 static struct platform_device at91rm9200_uart0_device = {
-       .name           = "at91_usart",
+       .name           = "atmel_usart",
        .id             = 1,
        .dev            = {
                                .platform_data  = &uart0_data,
@@ -641,7 +641,7 @@ static struct at91_uart_data uart1_data = {
 };
 
 static struct platform_device at91rm9200_uart1_device = {
-       .name           = "at91_usart",
+       .name           = "atmel_usart",
        .id             = 2,
        .dev            = {
                                .platform_data  = &uart1_data,
@@ -682,7 +682,7 @@ static struct at91_uart_data uart2_data = {
 };
 
 static struct platform_device at91rm9200_uart2_device = {
-       .name           = "at91_usart",
+       .name           = "atmel_usart",
        .id             = 3,
        .dev            = {
                                .platform_data  = &uart2_data,
@@ -717,7 +717,7 @@ static struct at91_uart_data uart3_data = {
 };
 
 static struct platform_device at91rm9200_uart3_device = {
-       .name           = "at91_usart",
+       .name           = "atmel_usart",
        .id             = 4,
        .dev            = {
                                .platform_data  = &uart3_data,