irqchip: align irqchip OF match table section naming
authorRob Herring <robh@kernel.org>
Mon, 24 Mar 2014 21:06:42 +0000 (16:06 -0500)
committerRob Herring <robh@kernel.org>
Tue, 20 May 2014 19:24:40 +0000 (14:24 -0500)
Make the irqchip OF match table section naming aligned with other
OF match table sections in preparation to have a common definition.

Acked-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Rob Herring <robh@kernel.org>
drivers/irqchip/irqchip.c
include/asm-generic/vmlinux.lds.h

index cad3e24..0fe2f71 100644 (file)
  * special section.
  */
 static const struct of_device_id
-irqchip_of_match_end __used __section(__irqchip_of_end);
+irqchip_of_match_end __used __section(__irqchip_of_table_end);
 
-extern struct of_device_id __irqchip_begin[];
+extern struct of_device_id __irqchip_of_table[];
 
 void __init irqchip_init(void)
 {
-       of_irq_init(__irqchip_begin);
+       of_irq_init(__irqchip_of_table);
 }
index 146e4ff..b1c6f9d 100644 (file)
 #ifdef CONFIG_IRQCHIP
 #define IRQCHIP_OF_MATCH_TABLE()                                       \
        . = ALIGN(8);                                                   \
-       VMLINUX_SYMBOL(__irqchip_begin) = .;                            \
+       VMLINUX_SYMBOL(__irqchip_of_table) = .;                         \
        *(__irqchip_of_table)                                           \
-       *(__irqchip_of_end)
+       *(__irqchip_of_table_end)
 #else
 #define IRQCHIP_OF_MATCH_TABLE()
 #endif