aboutsummaryrefslogtreecommitdiff
path: root/drivers/pci/pci_sandbox.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/pci/pci_sandbox.c')
-rw-r--r--drivers/pci/pci_sandbox.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pci/pci_sandbox.c b/drivers/pci/pci_sandbox.c
index 2af2b79c05d..fa4c4765978 100644
--- a/drivers/pci/pci_sandbox.c
+++ b/drivers/pci/pci_sandbox.c
@@ -39,7 +39,7 @@ static int sandbox_pci_write_config(struct udevice *bus, pci_dev_t devfn,
return ops->write_config(emul, offset, value, size);
}
-static int sandbox_pci_read_config(struct udevice *bus, pci_dev_t devfn,
+static int sandbox_pci_read_config(const struct udevice *bus, pci_dev_t devfn,
uint offset, ulong *valuep,
enum pci_size_t size)
{