diff options
| author | Marek Vasut <[email protected]> | 2026-05-08 00:07:16 +0200 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2026-05-18 16:56:07 -0600 |
| commit | 9ef7c13308f685ebc701f1f0e3e686034ddda87e (patch) | |
| tree | 49cca5c0436acdbc05439678d4b0d882a1de474c | |
| parent | d6a87d042e55d989751fa70f45d44dc230eedefb (diff) | |
misc: x86: 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]>
| -rw-r--r-- | drivers/misc/qfw.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/misc/qfw.c b/drivers/misc/qfw.c index 0e002ac25f4..8a11637ca7f 100644 --- a/drivers/misc/qfw.c +++ b/drivers/misc/qfw.c @@ -152,7 +152,7 @@ UCLASS_DRIVER(qfw) = { .per_device_auto = sizeof(struct qfw_dev), }; -struct bootdev_ops qfw_bootdev_ops = { +static const struct bootdev_ops qfw_bootdev_ops = { .get_bootflow = qfw_get_bootflow, }; |
