mirror of
https://source.denx.de/u-boot/u-boot.git
synced 2026-06-02 09:46:37 +03:00
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:
@@ -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,
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user