]> git.ipfire.org Git - thirdparty/u-boot.git/commit
power: domain: sandbox: Staticize and constify driver ops
authorMarek Vasut <marek.vasut+renesas@mailbox.org>
Fri, 8 May 2026 12:22:11 +0000 (14:22 +0200)
committerPeng Fan <peng.fan@nxp.com>
Fri, 15 May 2026 03:47:23 +0000 (11:47 +0800)
commitd82d49e1a6d10d7e92dd8448429f2c2e2c8af2c4
tree0a28743a3892ef1824083a4caaaef94dd6913d3d
parentb51735a38a17cf9be3ac8629a5ed22b2820d0339
power: domain: sandbox: 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/power/domain/sandbox-power-domain.c