aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/include/linux/mfd
diff options
context:
space:
mode:
authorTomas Winkler <tomas.winkler@intel.com>2020-05-16 14:06:08 +0300
committerLee Jones <lee.jones@linaro.org>2020-05-26 10:51:20 +0100
commit9aa8759960e36291e7663288d58b47ee4927b6f5 (patch)
tree3092351b3916697a1425987b4f283e5ee9589fd1 /include/linux/mfd
parentmfd: stm32-timers: Use dma_request_chan() instead dma_request_slave_channel() (diff)
downloadwireguard-linux-9aa8759960e36291e7663288d58b47ee4927b6f5.tar.xz
wireguard-linux-9aa8759960e36291e7663288d58b47ee4927b6f5.zip
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 <tomas.winkler@intel.com> Signed-off-by: Lee Jones <lee.jones@linaro.org>
Diffstat (limited to 'include/linux/mfd')
-rw-r--r--include/linux/mfd/core.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/mfd/core.h b/include/linux/mfd/core.h
index d01d1299e49d..7e5ac3c00891 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