of/irq: Export of_irq_get()
authorLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Thu, 30 Oct 2014 13:59:36 +0000 (15:59 +0200)
committerWolfram Sang <wsa@the-dreams.de>
Mon, 10 Nov 2014 08:34:57 +0000 (09:34 +0100)
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>
drivers/of/irq.c

index 1471e0a223a59286497501e84ed72075aff18b01..0d7765807f4940c1aa892665a78e0b32c4128528 100644 (file)
@@ -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