aboutsummaryrefslogtreecommitdiff
path: root/drivers/pci/pci_x86.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/pci/pci_x86.c')
-rw-r--r--drivers/pci/pci_x86.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/pci/pci_x86.c b/drivers/pci/pci_x86.c
index e76a9c6e44f..8d036930e73 100644
--- a/drivers/pci/pci_x86.c
+++ b/drivers/pci/pci_x86.c
@@ -8,8 +8,9 @@
#include <pci.h>
#include <asm/pci.h>
-static int _pci_x86_read_config(struct udevice *bus, pci_dev_t bdf, uint offset,
- ulong *valuep, enum pci_size_t size)
+static int _pci_x86_read_config(const struct udevice *bus, pci_dev_t bdf,
+ uint offset, ulong *valuep,
+ enum pci_size_t size)
{
return pci_x86_read_config(bdf, offset, valuep, size);
}