diff options
| author | Marek Vasut <[email protected]> | 2026-05-08 14:22:06 +0200 |
|---|---|---|
| committer | Peng Fan <[email protected]> | 2026-05-15 11:47:22 +0800 |
| commit | f82c349b9159738aba5193943cfbbe53eac8d050 (patch) | |
| tree | e6d1e7085550385e4deea0b7e31eee8738694593 /drivers | |
| parent | 10c5b89e217e114f6dc57933ddbb269e4b708eed (diff) | |
power: domain: imx8mp-mediamix: 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 <[email protected]>
Reviewed-by: Peng Fan <[email protected]>
Signed-off-by: Peng Fan <[email protected]>
Diffstat (limited to 'drivers')
| -rw-r--r-- | drivers/power/domain/imx8mp-mediamix.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/power/domain/imx8mp-mediamix.c b/drivers/power/domain/imx8mp-mediamix.c index 504c22f7d36..66ea5d8e60c 100644 --- a/drivers/power/domain/imx8mp-mediamix.c +++ b/drivers/power/domain/imx8mp-mediamix.c @@ -194,7 +194,7 @@ static const struct udevice_id imx8mp_mediamix_ids[] = { { } }; -struct power_domain_ops imx8mp_mediamix_ops = { +static const struct power_domain_ops imx8mp_mediamix_ops = { .on = imx8mp_mediamix_on, .off = imx8mp_mediamix_off, .of_xlate = imx8mp_mediamix_of_xlate, |
