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:
+1
-1
@@ -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,
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user