Subject: [PATCH] genirq: Export irq_{get,set}_irqchip_state()

From: Bjorn Andersson <[email-masked]>
Date: Wed, 22 Jul 2015 12:43:04 -0700

Export these functions to be able to build the Qualcomm family A PMIC
gpio and mpp drivers as modules.

Signed-off-by: Bjorn Andersson <[email-masked]>
---
 kernel/irq/manage.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/kernel/irq/manage.c b/kernel/irq/manage.c
index f9744853b656..3ceedb34e38b 100644
--- a/kernel/irq/manage.c
+++ b/kernel/irq/manage.c
@@ -1875,6 +1875,7 @@ int irq_get_irqchip_state(unsigned int irq, enum irqchip_irq_state which,
 	irq_put_desc_busunlock(desc, flags);
 	return err;
 }
+EXPORT_SYMBOL(irq_get_irqchip_state);
 
 /**
  *	irq_set_irqchip_state - set the state of a forwarded interrupt.
@@ -1920,3 +1921,4 @@ int irq_set_irqchip_state(unsigned int irq, enum irqchip_irq_state which,
 	irq_put_desc_busunlock(desc, flags);
 	return err;
 }
+EXPORT_SYMBOL(irq_set_irqchip_state);
-- 
1.8.2.2