Re: [PATCH 3/8] mfd: Constify static struct resource in OMAP2+ drivers
From: Lee Jones
Date: Wed Nov 04 2020 - 05:57:15 EST
On Tue, 22 Sep 2020, Rikard Falkeborn wrote:
> Constify a number of static struct resource. The only usage of the
> structs are to assign their address to the resources field in the
> mfd_cell struct. This allows the compiler to put them in read-only
> memory. Done with the help of Coccinelle.
>
> Signed-off-by: Rikard Falkeborn <rikard.falkeborn@xxxxxxxxx>
> ---
> drivers/mfd/tps65217.c | 4 ++--
> drivers/mfd/tps65910.c | 2 +-
> 2 files changed, 3 insertions(+), 3 deletions(-)
Applied, thanks.
--
Lee Jones [李琼斯]
Senior Technical Lead - Developer Services
Linaro.org │ Open source software for Arm SoCs
Follow Linaro: Facebook | Twitter | Blog