From: Boris Brezillon <boris.brezillon@free-electrons.com>
To: Krzysztof Kozlowski <k.kozlowski.k@gmail.com>
Cc: Mike Turquette <mturquette@linaro.org>,
Stephen Boyd <sboyd@codeaurora.org>,
linux-clk@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] clk: at91: Constify irq_domain_ops
Date: Mon, 27 Apr 2015 15:12:40 +0200 [thread overview]
Message-ID: <20150427151240.14cb4a0d@bbrezillon> (raw)
In-Reply-To: <1430139158-3919-1-git-send-email-k.kozlowski.k@gmail.com>
On Mon, 27 Apr 2015 21:52:38 +0900
Krzysztof Kozlowski <k.kozlowski.k@gmail.com> wrote:
> The irq_domain_ops are not modified by the driver and the irqdomain core
> code accepts pointer to a const data.
>
> Signed-off-by: Krzysztof Kozlowski <k.kozlowski.k@gmail.com>
Acked-by: Boris Brezillon <boris.brezillon@free-electrons.com>
> ---
> drivers/clk/at91/pmc.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/clk/at91/pmc.c b/drivers/clk/at91/pmc.c
> index 3f27d21fb729..39be2be82b0a 100644
> --- a/drivers/clk/at91/pmc.c
> +++ b/drivers/clk/at91/pmc.c
> @@ -153,7 +153,7 @@ static int pmc_irq_domain_xlate(struct irq_domain *d,
> return 0;
> }
>
> -static struct irq_domain_ops pmc_irq_ops = {
> +static const struct irq_domain_ops pmc_irq_ops = {
> .map = pmc_irq_map,
> .xlate = pmc_irq_domain_xlate,
> };
--
Boris Brezillon, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com
next prev parent reply other threads:[~2015-04-27 13:12 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-04-27 12:52 [PATCH] clk: at91: Constify irq_domain_ops Krzysztof Kozlowski
2015-04-27 13:12 ` Boris Brezillon [this message]
2015-05-01 1:23 ` Stephen Boyd
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20150427151240.14cb4a0d@bbrezillon \
--to=boris.brezillon@free-electrons.com \
--cc=k.kozlowski.k@gmail.com \
--cc=linux-clk@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mturquette@linaro.org \
--cc=sboyd@codeaurora.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox