Skip to content

Commit

Permalink
irqchip: align irqchip OF match table section naming
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Rob Herring committed May 20, 2014
1 parent 6e87b70 commit 735e0da
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions drivers/irqchip/irqchip.c
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,11 @@
* 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);
}
4 changes: 2 additions & 2 deletions include/asm-generic/vmlinux.lds.h
Original file line number Diff line number Diff line change
Expand Up @@ -151,9 +151,9 @@
#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
Expand Down

0 comments on commit 735e0da

Please sign in to comment.