dm: pci: Update the PCI read_config() method to const dev *
[oweals/u-boot.git] / drivers / pci / pcie_dw_ti.c
index b37fc2de7fb8184902037a074a8aa01b6aa28edd..433640d3e70cfdaf9ed8d32cd7d76bb2a635598b 100644 (file)
@@ -289,7 +289,7 @@ static int pcie_dw_addr_valid(pci_dev_t d, int first_busno)
  *
  * Return: 0 on success
  */
-static int pcie_dw_ti_read_config(struct udevice *bus, pci_dev_t bdf,
+static int pcie_dw_ti_read_config(const struct udevice *bus, pci_dev_t bdf,
                                  uint offset, ulong *valuep,
                                  enum pci_size_t size)
 {