From: Dmitry Torokhov Date: Wed, 26 Aug 2015 00:04:02 +0000 (-0700) Subject: of/irq: export of_get_irq_byname() X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=6602c452caf532893c1bde50aacda0bd17f958aa;p=linux-beck.git of/irq: export of_get_irq_byname() Similarly to of_get_irq(), let's export of_irq_get_byname(), so if a bus core can be compiled as a module (such as I2C) it can have access to the symbol. Reported-by: Stephen Rothwell Reported-by: kbuild test robot Signed-off-by: Dmitry Torokhov Acked-by: Rob Herring Signed-off-by: Wolfram Sang --- diff --git a/drivers/of/irq.c b/drivers/of/irq.c index 3cf7a01f557f..e9eaed1dc996 100644 --- a/drivers/of/irq.c +++ b/drivers/of/irq.c @@ -431,6 +431,7 @@ int of_irq_get_byname(struct device_node *dev, const char *name) return of_irq_get(dev, index); } +EXPORT_SYMBOL_GPL(of_irq_get_byname); /** * of_irq_count - Count the number of IRQs a node uses