From: Michał Mirosław Date: Mon, 28 Aug 2023 20:16:11 +0000 (+0200) Subject: mfd: core: Un-constify mfd_cell.of_reg X-Git-Tag: v6.6.7~1216 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=5652e2ba9b038d5658ab023d6d3c4400ea9c2884;p=platform%2Fkernel%2Flinux-starfive.git mfd: core: Un-constify mfd_cell.of_reg [ Upstream commit 3c70342f1f0045dc827bb2f02d814ce31e0e0d05 ] 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 Link: https://lore.kernel.org/r/b73fe4bc4bd6ba1af90940a640ed65fe254c0408.1693253717.git.mirq-linux@rere.qmqm.pl Signed-off-by: Lee Jones Signed-off-by: Sasha Levin --- diff --git a/include/linux/mfd/core.h b/include/linux/mfd/core.h index 47e7a3a..e8bcad6 100644 --- 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;