Sfoglia il codice sorgente

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>
Laurent Pinchart 10 anni fa
parent
commit
9eb08fb3d1
1 ha cambiato i file con 1 aggiunte e 0 eliminazioni
  1. 1 0
      drivers/of/irq.c

+ 1 - 0
drivers/of/irq.c

@@ -405,6 +405,7 @@ int of_irq_get(struct device_node *dev, int index)
 
 
 	return irq_create_of_mapping(&oirq);
 	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
  * of_irq_get_byname - Decode a node's IRQ and return it as a Linux irq number