ARM: at91: change name template in AT91_SOC_START macro
authorLudovic Desroches <ludovic.desroches@atmel.com>
Fri, 22 Mar 2013 13:24:09 +0000 (13:24 +0000)
committerNicolas Ferre <nicolas.ferre@atmel.com>
Tue, 26 Mar 2013 11:18:04 +0000 (12:18 +0100)
New devices are no more prefixed with at91 so remove the at91 and _name
concatenation.

Signed-off-by: Ludovic Desroches <ludovic.desroches@atmel.com>
Acked-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>
arch/arm/mach-at91/at91rm9200.c
arch/arm/mach-at91/at91sam9260.c
arch/arm/mach-at91/at91sam9261.c
arch/arm/mach-at91/at91sam9263.c
arch/arm/mach-at91/at91sam9g45.c
arch/arm/mach-at91/at91sam9n12.c
arch/arm/mach-at91/at91sam9rl.c
arch/arm/mach-at91/at91sam9x5.c
arch/arm/mach-at91/soc.h

index 9706c000f2949d1df82cd1f8eba05dde805035fd..ccce7592dbd301082c12baedd2465eabd9827b5f 100644 (file)
@@ -384,7 +384,7 @@ static unsigned int at91rm9200_default_irq_priority[NR_AIC_IRQS] __initdata = {
        0       /* Advanced Interrupt Controller (IRQ6) */
 };
 
-AT91_SOC_START(rm9200)
+AT91_SOC_START(at91rm9200)
        .map_io = at91rm9200_map_io,
        .default_irq_priority = at91rm9200_default_irq_priority,
        .ioremap_registers = at91rm9200_ioremap_registers,
index b67cd5374117b4405e0f153d77cd4040bb3f83c5..1833b4c365df5fd760a1027b1a40ca3d8774b71e 100644 (file)
@@ -395,7 +395,7 @@ static unsigned int at91sam9260_default_irq_priority[NR_AIC_IRQS] __initdata = {
        0,      /* Advanced Interrupt Controller */
 };
 
-AT91_SOC_START(sam9260)
+AT91_SOC_START(at91sam9260)
        .map_io = at91sam9260_map_io,
        .default_irq_priority = at91sam9260_default_irq_priority,
        .ioremap_registers = at91sam9260_ioremap_registers,
index 2998a08afc2d91a020700807ff9fcd0ca813b68c..ac7a341bd0ffd1a545766bbc01598aebc4a0df80 100644 (file)
@@ -337,7 +337,7 @@ static unsigned int at91sam9261_default_irq_priority[NR_AIC_IRQS] __initdata = {
        0,      /* Advanced Interrupt Controller */
 };
 
-AT91_SOC_START(sam9261)
+AT91_SOC_START(at91sam9261)
        .map_io = at91sam9261_map_io,
        .default_irq_priority = at91sam9261_default_irq_priority,
        .ioremap_registers = at91sam9261_ioremap_registers,
index b9fc60d1b33a2f2e6f0e4feef4f44fb82dda38e9..8e2d9f4a9a450273debedcaa8c79c97fe1c57c17 100644 (file)
@@ -374,7 +374,7 @@ static unsigned int at91sam9263_default_irq_priority[NR_AIC_IRQS] __initdata = {
        0,      /* Advanced Interrupt Controller (IRQ1) */
 };
 
-AT91_SOC_START(sam9263)
+AT91_SOC_START(at91sam9263)
        .map_io = at91sam9263_map_io,
        .default_irq_priority = at91sam9263_default_irq_priority,
        .ioremap_registers = at91sam9263_ioremap_registers,
index d3addee43d8dac22689c5e3b3970564dbc0d2aca..4fcbe7b5b58deae7b4780ed310d7e9fdb37160a1 100644 (file)
@@ -418,7 +418,7 @@ static unsigned int at91sam9g45_default_irq_priority[NR_AIC_IRQS] __initdata = {
        0,      /* Advanced Interrupt Controller (IRQ0) */
 };
 
-AT91_SOC_START(sam9g45)
+AT91_SOC_START(at91sam9g45)
        .map_io = at91sam9g45_map_io,
        .default_irq_priority = at91sam9g45_default_irq_priority,
        .ioremap_registers = at91sam9g45_ioremap_registers,
index 5dfc8fd871034f845b712aa3950ea63a118a14cc..2c7a2f4a75687dcad375770d6d809b5880a45ba1 100644 (file)
@@ -226,7 +226,7 @@ void __init at91sam9n12_initialize(void)
        at91_extern_irq = (1 << AT91SAM9N12_ID_IRQ0);
 }
 
-AT91_SOC_START(sam9n12)
+AT91_SOC_START(at91sam9n12)
        .map_io = at91sam9n12_map_io,
        .register_clocks = at91sam9n12_register_clocks,
        .init = at91sam9n12_initialize,
index eb98704db2d92a4b24835b226cedcf7814260529..c39600764236c9e858eeb78e5f1a30fda6940fd5 100644 (file)
@@ -340,7 +340,7 @@ static unsigned int at91sam9rl_default_irq_priority[NR_AIC_IRQS] __initdata = {
        0,      /* Advanced Interrupt Controller */
 };
 
-AT91_SOC_START(sam9rl)
+AT91_SOC_START(at91sam9rl)
        .map_io = at91sam9rl_map_io,
        .default_irq_priority = at91sam9rl_default_irq_priority,
        .ioremap_registers = at91sam9rl_ioremap_registers,
index 44a9a62dcc139f1b096d44b5e1c158cea168b3f2..3a1a7993c125df9072a19d5240652d42d127cf7e 100644 (file)
@@ -320,7 +320,7 @@ static void __init at91sam9x5_map_io(void)
  *  Interrupt initialization
  * -------------------------------------------------------------------- */
 
-AT91_SOC_START(sam9x5)
+AT91_SOC_START(at91sam9x5)
        .map_io = at91sam9x5_map_io,
        .register_clocks = at91sam9x5_register_clocks,
 AT91_SOC_END
index 9c6d3d4f9a23ab43d4ba7a1fb58624a0b774b8b4..f3d350278565f480cf04660a04b16bcb4ccba83f 100644 (file)
@@ -24,7 +24,7 @@ extern struct at91_init_soc at91sam9x5_soc;
 extern struct at91_init_soc at91sam9n12_soc;
 
 #define AT91_SOC_START(_name)                          \
-struct at91_init_soc __initdata at91##_name##_soc      \
+struct at91_init_soc __initdata _name##_soc            \
  __used                                                        \
                                                = {     \
        .builtin        = 1,                            \