Skip to content

Commit

Permalink
mfd: core: Un-constify mfd_cell.of_reg
Browse files Browse the repository at this point in the history
Enable dynamically filling in the whole mfd_cell structure. All other
fields already allow that.

Fixes: 466a62d ("mfd: core: Make a best effort attempt to match devices with the correct of_nodes")
Signed-off-by: Michał Mirosław <[email protected]>
Link: https://lore.kernel.org/r/b73fe4bc4bd6ba1af90940a640ed65fe254c0408.1693253717.git.mirq-linux@rere.qmqm.pl
Signed-off-by: Lee Jones <[email protected]>
  • Loading branch information
osctobe authored and lag-linaro committed Nov 1, 2023
1 parent 26329c9 commit 3c70342
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/linux/mfd/core.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 3c70342

Please sign in to comment.