]> git.baikalelectronics.ru Git - kernel.git/commit
irqchip: armada-370-xp: move IRQ handler to avoid forward declaration
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Tue, 9 Apr 2013 21:26:16 +0000 (23:26 +0200)
committerJason Cooper <jason@lakedaemon.net>
Mon, 15 Apr 2013 19:34:50 +0000 (19:34 +0000)
commitfc6a2c5b579e85c7dd30e35ef85162a18230bc9d
tree7feb97c75a7f8474f30cef76be430e6b41353cc7
parentddc4c6db3d4107124a14629cbdd6d86a4c393aa1
irqchip: armada-370-xp: move IRQ handler to avoid forward declaration

If we move the IRQ handler function above the initialization function,
we avoid a forward declaration. This wasn't done as part of the
previous commit, in order to increase the readibility of the previous
commit, who was also moving the IRQ controller driver from arch/arm to
drivers/irqchip.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Tested-by: Ezequiel Garcia <ezequiel.garcia@free-electrons.com>
Signed-off-by: Jason Cooper <jason@lakedaemon.net>
drivers/irqchip/irq-armada-370-xp.c