From: Dmitry Torokhov Date: Wed, 26 Aug 2015 00:04:02 +0000 (-0700) Subject: of/irq: export of_get_irq_byname() X-Git-Tag: v5.15~15115^2~5 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=6602c452caf532893c1bde50aacda0bd17f958aa;p=platform%2Fkernel%2Flinux-starfive.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 3cf7a01..e9eaed1 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