From: Tomas Winkler Date: Sat, 16 May 2020 11:06:08 +0000 (+0300) Subject: mfd: Constify properties in mfd_cell X-Git-Tag: v5.10.7~2461^2~11 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=9aa8759960e36291e7663288d58b47ee4927b6f5;p=platform%2Fkernel%2Flinux-rpi.git mfd: Constify properties in mfd_cell Constify 'struct property_entry *properties' in mfd_cell. It is always passed around as a pointer const struct. Signed-off-by: Tomas Winkler Signed-off-by: Lee Jones --- diff --git a/include/linux/mfd/core.h b/include/linux/mfd/core.h index d01d129..7e5ac3c 100644 --- a/include/linux/mfd/core.h +++ b/include/linux/mfd/core.h @@ -70,7 +70,7 @@ struct mfd_cell { size_t pdata_size; /* device properties passed to the sub devices drivers */ - struct property_entry *properties; + const struct property_entry *properties; /* * Device Tree compatible string