ata: sata_mv: 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: Stefan Roese <stefan.roese@mailbox.org>
This commit is contained in:
Marek Vasut
2026-05-07 18:42:08 +02:00
committed by Tom Rini
parent 06bf459570
commit 2908a3f35b

View File

@@ -1122,7 +1122,7 @@ static const struct udevice_id sata_mv_ids[] = {
{ }
};
struct ahci_ops sata_mv_ahci_ops = {
static const struct ahci_ops sata_mv_ahci_ops = {
.scan = sata_mv_scan,
};