projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8d7de07
)
mfd: Constify properties in mfd_cell
author
Tomas Winkler
<tomas.winkler@intel.com>
Sat, 16 May 2020 11:06:08 +0000
(14:06 +0300)
committer
Lee Jones
<lee.jones@linaro.org>
Tue, 26 May 2020 09:51:20 +0000
(10:51 +0100)
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>
include/linux/mfd/core.h
patch
|
blob
|
history
diff --git
a/include/linux/mfd/core.h
b/include/linux/mfd/core.h
index
d01d129
..
7e5ac3c
100644
(file)
--- 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