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 <marek.vasut+renesas@mailbox.org>
This commit is contained in:
Marek Vasut
2026-05-18 16:56:07 -06:00
committed by Tom Rini
parent d6a87d042e
commit 9ef7c13308
+1 -1
View File
@@ -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,
};