提交 735e0da7 编写于 作者: R Rob Herring

irqchip: align irqchip OF match table section naming

Make the irqchip OF match table section naming aligned with other
OF match table sections in preparation to have a common definition.
Acked-by: NArnd Bergmann <arnd@arndb.de>
Signed-off-by: NRob Herring <robh@kernel.org>
上级 6e87b703
...@@ -19,11 +19,11 @@ ...@@ -19,11 +19,11 @@
* special section. * special section.
*/ */
static const struct of_device_id 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) void __init irqchip_init(void)
{ {
of_irq_init(__irqchip_begin); of_irq_init(__irqchip_of_table);
} }
...@@ -151,9 +151,9 @@ ...@@ -151,9 +151,9 @@
#ifdef CONFIG_IRQCHIP #ifdef CONFIG_IRQCHIP
#define IRQCHIP_OF_MATCH_TABLE() \ #define IRQCHIP_OF_MATCH_TABLE() \
. = ALIGN(8); \ . = ALIGN(8); \
VMLINUX_SYMBOL(__irqchip_begin) = .; \ VMLINUX_SYMBOL(__irqchip_of_table) = .; \
*(__irqchip_of_table) \ *(__irqchip_of_table) \
*(__irqchip_of_end) *(__irqchip_of_table_end)
#else #else
#define IRQCHIP_OF_MATCH_TABLE() #define IRQCHIP_OF_MATCH_TABLE()
#endif #endif
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册