]> git.ipfire.org Git - thirdparty/u-boot.git/commit
mmc: bootstd: Staticize and constify driver ops
authorMarek Vasut <marek.vasut+renesas@mailbox.org>
Thu, 7 May 2026 22:07:48 +0000 (00:07 +0200)
committerPeng Fan <peng.fan@nxp.com>
Fri, 15 May 2026 03:45:40 +0000 (11:45 +0800)
commitb487d05633a6614da425f9c3b7707e7d5fee97de
tree1bfc9dcd30242d71595132e72d81db5b9dd13410
parent731a875ae768a04282adf79a7144782ed12c04d6
mmc: bootstd: Staticize and constify driver ops

Set the ops structure as static const. The structure is not accessible
from outside of this driver and is not going to be modified at runtime.

Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
Reviewed-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Peng Fan <peng.fan@nxp.com>
Signed-off-by: Peng Fan <peng.fan@nxp.com>
drivers/mmc/mmc_bootdev.c