projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
26329c9
)
mfd: core: Un-constify mfd_cell.of_reg
author
Michał Mirosław
<mirq-linux@rere.qmqm.pl>
Mon, 28 Aug 2023 20:16:11 +0000
(22:16 +0200)
committer
Lee Jones
<lee@kernel.org>
Wed, 1 Nov 2023 10:02:09 +0000
(10:02 +0000)
Enable dynamically filling in the whole mfd_cell structure. All other
fields already allow that.
Fixes: 466a62d7642f ("mfd: core: Make a best effort attempt to match devices with the correct of_nodes")
Signed-off-by: Michał Mirosław <mirq-linux@rere.qmqm.pl>
Link:
https://lore.kernel.org/r/b73fe4bc4bd6ba1af90940a640ed65fe254c0408.1693253717.git.mirq-linux@rere.qmqm.pl
Signed-off-by: Lee Jones <lee@kernel.org>
include/linux/mfd/core.h
patch
|
blob
|
history
diff --git
a/include/linux/mfd/core.h
b/include/linux/mfd/core.h
index 47e7a3a61ce69481f3d2e2521ff1e77410cbb126..e8bcad641d8c20bb87d68627346741d7e86b5e0d 100644
(file)
--- a/
include/linux/mfd/core.h
+++ b/
include/linux/mfd/core.h
@@
-92,7
+92,7
@@
struct mfd_cell {
* (above) when matching OF nodes with devices that have identical
* compatible strings
*/
-
const
u64 of_reg;
+ u64 of_reg;
/* Set to 'true' to use 'of_reg' (above) - allows for of_reg=0 */
bool use_of_reg;