diff options
author | Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com> | 2014-10-30 09:59:36 -0400 |
---|---|---|
committer | Wolfram Sang <wsa@the-dreams.de> | 2014-11-10 03:34:57 -0500 |
commit | 9eb08fb3d15896bfff57fcd4c87e3fd5b19d8581 (patch) | |
tree | a1847ff26a0d656d5c904ba06234457f8e6de2d6 /drivers | |
parent | 78df445e7807b1ed741d2571280a674f3e4a57bf (diff) |
of/irq: Export of_irq_get()
The function will be used by the I2C core which can be compiled as a
module.
Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Acked-by: Rob Herring <robh@kernel.org>
Acked-by: Grant Likely <grant.likely@linaro.org>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/of/irq.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/of/irq.c b/drivers/of/irq.c index 1471e0a223a5..0d7765807f49 100644 --- a/drivers/of/irq.c +++ b/drivers/of/irq.c | |||
@@ -405,6 +405,7 @@ int of_irq_get(struct device_node *dev, int index) | |||
405 | 405 | ||
406 | return irq_create_of_mapping(&oirq); | 406 | return irq_create_of_mapping(&oirq); |
407 | } | 407 | } |
408 | EXPORT_SYMBOL_GPL(of_irq_get); | ||
408 | 409 | ||
409 | /** | 410 | /** |
410 | * of_irq_get_byname - Decode a node's IRQ and return it as a Linux irq number | 411 | * of_irq_get_byname - Decode a node's IRQ and return it as a Linux irq number |