From: Laurent Pinchart Date: Thu, 30 Oct 2014 13:59:36 +0000 (+0200) Subject: of/irq: Export of_irq_get() X-Git-Url: http://drtracing.org/?a=commitdiff_plain;h=9eb08fb3d15896bfff57fcd4c87e3fd5b19d8581;p=deliverable%2Flinux.git 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 Acked-by: Rob Herring Acked-by: Grant Likely Signed-off-by: Wolfram Sang --- 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) return irq_create_of_mapping(&oirq); } +EXPORT_SYMBOL_GPL(of_irq_get); /** * of_irq_get_byname - Decode a node's IRQ and return it as a Linux irq number