Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1213850

Re: [PATCH] of/irq: export of_get_irq_byname()

From Rob Herring <robherring2@gmail.com>
Newsgroups linux.kernel
Subject Re: [PATCH] of/irq: export of_get_irq_byname()
Date 2015-08-26 15:20 +0200
Message-ID <q1IMq-6N8-23@gated-at.bofh.it> (permalink)
References <q1wrU-5N8-19@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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/

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[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

csiph-web