Commit-ID:  1ee4fb3ee1e47f2b3c294ded383a3cd9cc2decd4
Gitweb:     http://git.kernel.org/tip/1ee4fb3ee1e47f2b3c294ded383a3cd9cc2decd4
Author:     Bjorn Andersson <bjorn.anders...@sonymobile.com>
AuthorDate: Wed, 22 Jul 2015 12:43:04 -0700
Committer:  Thomas Gleixner <t...@linutronix.de>
CommitDate: Mon, 27 Jul 2015 08:09:38 +0200

genirq: Export irq_[get|set]_irqchip_state()

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

[ tglx: Made them GPL exports ]

Signed-off-by: Bjorn Andersson <bjorn.anders...@sonymobile.com>
Reviewed-by: Mark Brown <broo...@kernel.org>
Cc: Marc Zyngier <marc.zyng...@arm.com>
Cc: <kernel-build-repo...@lists.linaro.org>
Cc: <linaro-ker...@lists.linaro.org>
Cc: Srinivas Kandagatla <srinivas.kandaga...@linaro.org>
Cc: Linus Walleij <linus.wall...@linaro.org>
Link: 
http://lkml.kernel.org/r/1437594184-22966-1-git-send-email-bjorn.anders...@sonymobile.com
Signed-off-by: Thomas Gleixner <t...@linutronix.de>
---
 kernel/irq/manage.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/kernel/irq/manage.c b/kernel/irq/manage.c
index 886f115..ad1b064 100644
--- a/kernel/irq/manage.c
+++ b/kernel/irq/manage.c
@@ -1877,6 +1877,7 @@ int irq_get_irqchip_state(unsigned int irq, enum 
irqchip_irq_state which,
        irq_put_desc_busunlock(desc, flags);
        return err;
 }
+EXPORT_SYMBOL_GPL(irq_get_irqchip_state);
 
 /**
  *     irq_set_irqchip_state - set the state of a forwarded interrupt.
@@ -1922,3 +1923,4 @@ int irq_set_irqchip_state(unsigned int irq, enum 
irqchip_irq_state which,
        irq_put_desc_busunlock(desc, flags);
        return err;
 }
+EXPORT_SYMBOL_GPL(irq_set_irqchip_state);
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Reply via email to