[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20170530080912.g2xkuizx7qzhrtiq@dell>
Date: Tue, 30 May 2017 09:09:12 +0100
From: Lee Jones <lee.jones@...aro.org>
To: Tobias Klauser <tklauser@...tanz.ch>
Cc: linux-kernel@...r.kernel.org
Subject: Re: [PATCH] mfd: fsl-imx25-tsadc: constify irq_domain_ops
On Wed, 24 May 2017, Tobias Klauser wrote:
> struct irq_domain_ops is not modified, so it can be made const.
>
> Signed-off-by: Tobias Klauser <tklauser@...tanz.ch>
> ---
> drivers/mfd/fsl-imx25-tsadc.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
Applied, thanks.
> diff --git a/drivers/mfd/fsl-imx25-tsadc.c b/drivers/mfd/fsl-imx25-tsadc.c
> index ac430a396a89..190e375dc57a 100644
> --- a/drivers/mfd/fsl-imx25-tsadc.c
> +++ b/drivers/mfd/fsl-imx25-tsadc.c
> @@ -59,7 +59,7 @@ static int mx25_tsadc_domain_map(struct irq_domain *d, unsigned int irq,
> return 0;
> }
>
> -static struct irq_domain_ops mx25_tsadc_domain_ops = {
> +static const struct irq_domain_ops mx25_tsadc_domain_ops = {
> .map = mx25_tsadc_domain_map,
> .xlate = irq_domain_xlate_onecell,
> };
--
Lee Jones
Linaro STMicroelectronics Landing Team Lead
Linaro.org │ Open source software for ARM SoCs
Follow Linaro: Facebook | Twitter | Blog
Powered by blists - more mailing lists