[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20201104105902.GY4488@dell>
Date: Wed, 4 Nov 2020 10:59:02 +0000
From: Lee Jones <lee.jones@...aro.org>
To: Rikard Falkeborn <rikard.falkeborn@...il.com>
Cc: linux-kernel@...r.kernel.org, Maxime Ripard <mripard@...nel.org>,
Chen-Yu Tsai <wens@...e.org>,
linux-arm-kernel@...ts.infradead.org
Subject: Re: [PATCH 7/8] mfd: sun4i-gpadc: Constify static struct resource
On Tue, 22 Sep 2020, Rikard Falkeborn wrote:
> Constify adc_resources[]. The only usage is to assign its address to the
> resources field of the mfd_cell struct. This allows the compiler to put
> it in read-only memory. Done with the help of Coccinelle.
>
> Signed-off-by: Rikard Falkeborn <rikard.falkeborn@...il.com>
> ---
> drivers/mfd/sun4i-gpadc.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
Applied, thanks.
--
Lee Jones [李琼斯]
Senior Technical Lead - Developer Services
Linaro.org │ Open source software for Arm SoCs
Follow Linaro: Facebook | Twitter | Blog
Powered by blists - more mailing lists