of/irq: export of_get_irq_byname()
PATCH 1/1 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.
--- drivers/of/irq.c | 1 + 1 file changed, 1 insertion(+)
drivers/of/irq.c +1 -0
@@ -446,6 +446,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
Signature · 9 lines
2.5.0.457.gab17608 -- Dmitry -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
Stephen Rothwell
AppliedHi Dmitry,
Quoted 7 lines · On Tue, 25 Aug 2015 17:04:02 -0700 Dmitry Torokhov…
Similarly to
of_get_irq(), let's exportof_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 <[email protected]>Reported-by kbuild test robot <[email protected]>Signed-off-by Dmitry Torokhov <[email protected]>
I applied that to linux-next today. Pelase get it applied to the i2c tree (with appropriate acks).
Signature · 6 lines
Cheers, Stephen Rothwell [email protected] -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
Quoted 7 lines · Stephen Rothwell
Hi Dmitry,
Quoted 4 lines · On Tue, 25 Aug 2015 17:04:02 -0700 Dmitry Torokhov <[email protected]>…
Similarly to
of_get_irq(), let's exportof_irq_get_byname(), so if a bus core can be compiled as a module (such as I2C) it can have access to the symbol.
Quoted 6 lines
Quoted 3 lines
Reported-by Stephen Rothwell <[email protected]>Reported-by kbuild test robot <[email protected]>Signed-off-by Dmitry Torokhov <[email protected]>I applied that to linux-next today. Pelase get it applied to the i2c tree (with appropriate acks).
Waiting for Rob's Ack, then I'll pick it up...
Quoted 6 lines · Dmitry Torokhov
Similarly to
of_get_irq(), let's exportof_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 <[email protected]>Reported-by kbuild test robot <[email protected]>Signed-off-by Dmitry Torokhov <[email protected]>
Quoted 20 lines
--- drivers/of/irq.c | 1 + 1 file changed, 1 insertion(+)drivers/of/irq.c +1
-1@@ -446,6 +446,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 -- 2.5.0.457.gab17608
Quoted 2 lines
--
Dmitry
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
Wolfram Sang
AppliedQuoted 6 lines · Dmitry Torokhov
Similarly to
of_get_irq(), let's exportof_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 <[email protected]>Reported-by kbuild test robot <[email protected]>Signed-off-by Dmitry Torokhov <[email protected]>
Applied to for-next, thanks!