summaryrefslogtreecommitdiff
path: root/drivers/irqchip
diff options
context:
space:
mode:
authorBaruch Siach <baruch@tkos.co.il>2015-03-22 10:39:45 +0300
committerJason Cooper <jason@lakedaemon.net>2015-03-23 13:00:52 +0300
commit00e6743b5b7333a589c7607aa0ed20416831034d (patch)
tree95f54abce5a6fef01d131a240a038390fdb7c89e /drivers/irqchip
parenta94b5ea291592b1e758f3bcb164ae649504238bc (diff)
downloadlinux-00e6743b5b7333a589c7607aa0ed20416831034d.tar.xz
irqchip: digicolor: Move digicolor_set_gc to init section
The digicolor_set_gc() routine is only called from __init annotated digicolor_of_init(). Annotate digicolor_set_gc() with __init as well to save a few bytes at run time. Signed-off-by: Baruch Siach <baruch@tkos.co.il> Link: https://lkml.kernel.org/r/a3b57ecdbe0b07f55c20c07ff98f1f694275722d.1427009985.git.baruch@tkos.co.il Signed-off-by: Jason Cooper <jason@lakedaemon.net>
Diffstat (limited to 'drivers/irqchip')
-rw-r--r--drivers/irqchip/irq-digicolor.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/irqchip/irq-digicolor.c b/drivers/irqchip/irq-digicolor.c
index 930a2a2fac7f..3cbc658afe27 100644
--- a/drivers/irqchip/irq-digicolor.c
+++ b/drivers/irqchip/irq-digicolor.c
@@ -55,8 +55,8 @@ static void __exception_irq_entry digicolor_handle_irq(struct pt_regs *regs)
} while (1);
}
-static void digicolor_set_gc(void __iomem *reg_base, unsigned irq_base,
- unsigned en_reg, unsigned ack_reg)
+static void __init digicolor_set_gc(void __iomem *reg_base, unsigned irq_base,
+ unsigned en_reg, unsigned ack_reg)
{
struct irq_chip_generic *gc;