ata: fsl_sata: 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>
This commit is contained in:
Marek Vasut
2026-05-07 18:42:06 +02:00
committed by Tom Rini
parent 11e1be868c
commit 06bf459570

View File

@@ -960,7 +960,7 @@ static int sata_fsl_scan(struct udevice *dev)
return 0;
}
struct ahci_ops sata_fsl_ahci_ops = {
static const struct ahci_ops sata_fsl_ahci_ops = {
.scan = sata_fsl_scan,
};