Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1213450 > unrolled thread
| Started by | Dmitry Torokhov <dmitry.torokhov@gmail.com> |
|---|---|
| First post | 2015-08-26 02:10 +0200 |
| Last post | 2015-08-26 18:40 +0200 |
| Articles | 5 — 4 participants |
Back to article view | Back to linux.kernel
[PATCH] of/irq: export of_get_irq_byname() Dmitry Torokhov <dmitry.torokhov@gmail.com> - 2015-08-26 02:10 +0200
Re: [PATCH] of/irq: export of_get_irq_byname() Stephen Rothwell <sfr@canb.auug.org.au> - 2015-08-26 02:30 +0200
Re: [PATCH] of/irq: export of_get_irq_byname() Wolfram Sang <wsa@the-dreams.de> - 2015-08-26 09:50 +0200
Re: [PATCH] of/irq: export of_get_irq_byname() Rob Herring <robherring2@gmail.com> - 2015-08-26 15:20 +0200
Re: [PATCH] of/irq: export of_get_irq_byname() Wolfram Sang <wsa@the-dreams.de> - 2015-08-26 18:40 +0200
| From | Dmitry Torokhov <dmitry.torokhov@gmail.com> |
|---|---|
| Date | 2015-08-26 02:10 +0200 |
| Subject | [PATCH] of/irq: export of_get_irq_byname() |
| Message-ID | <q1wrU-5N8-19@gated-at.bofh.it> |
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 <sfr@canb.auug.org.au> Reported-by: kbuild test robot <fengguang.wu@intel.com> Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com> --- drivers/of/irq.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/of/irq.c b/drivers/of/irq.c index 7ef837e..1a7911d 100644 --- a/drivers/of/irq.c +++ b/drivers/of/irq.c @@ -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 -- Dmitry -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
[toc] | [next] | [standalone]
| From | Stephen Rothwell <sfr@canb.auug.org.au> |
|---|---|
| Date | 2015-08-26 02:30 +0200 |
| Message-ID | <q1wLg-69E-11@gated-at.bofh.it> |
| In reply to | #1213450 |
Hi Dmitry, On Tue, 25 Aug 2015 17:04:02 -0700 Dmitry Torokhov <dmitry.torokhov@gmail.com> wrote: > > 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 <sfr@canb.auug.org.au> > Reported-by: kbuild test robot <fengguang.wu@intel.com> > Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com> I applied that to linux-next today. Pelase get it applied to the i2c tree (with appropriate acks). -- Cheers, Stephen Rothwell sfr@canb.auug.org.au -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
[toc] | [prev] | [next] | [standalone]
| From | Wolfram Sang <wsa@the-dreams.de> |
|---|---|
| Date | 2015-08-26 09:50 +0200 |
| Message-ID | <q1DD4-7K7-19@gated-at.bofh.it> |
| In reply to | #1213459 |
[Multipart message — attachments visible in raw view] — view raw
On Wed, Aug 26, 2015 at 10:24:25AM +1000, Stephen Rothwell wrote: > Hi Dmitry, > > On Tue, 25 Aug 2015 17:04:02 -0700 Dmitry Torokhov <dmitry.torokhov@gmail.com> wrote: > > > > 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 <sfr@canb.auug.org.au> > > Reported-by: kbuild test robot <fengguang.wu@intel.com> > > Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com> > > 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...
[toc] | [prev] | [next] | [standalone]
| From | Rob Herring <robherring2@gmail.com> |
|---|---|
| Date | 2015-08-26 15:20 +0200 |
| Message-ID | <q1IMq-6N8-23@gated-at.bofh.it> |
| In reply to | #1213450 |
On Tue, Aug 25, 2015 at 7:04 PM, Dmitry Torokhov <dmitry.torokhov@gmail.com> wrote: > 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 <sfr@canb.auug.org.au> > Reported-by: kbuild test robot <fengguang.wu@intel.com> > Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com> Acked-by: Rob Herring <robh@kernel.org> > --- > drivers/of/irq.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/drivers/of/irq.c b/drivers/of/irq.c > index 7ef837e..1a7911d 100644 > --- a/drivers/of/irq.c > +++ b/drivers/of/irq.c > @@ -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 > > > -- > Dmitry -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
[toc] | [prev] | [next] | [standalone]
| From | Wolfram Sang <wsa@the-dreams.de> |
|---|---|
| Date | 2015-08-26 18:40 +0200 |
| Message-ID | <q1LTX-2LN-5@gated-at.bofh.it> |
| In reply to | #1213450 |
[Multipart message — attachments visible in raw view] — view raw
On Tue, Aug 25, 2015 at 05:04:02PM -0700, Dmitry Torokhov wrote: > 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 <sfr@canb.auug.org.au> > Reported-by: kbuild test robot <fengguang.wu@intel.com> > Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com> Applied to for-next, thanks!
[toc] | [prev] | [standalone]
Back to top | Article view | linux.kernel
csiph-web