summaryrefslogtreecommitdiff
path: root/lib/fdt_rw.c
diff options
context:
space:
mode:
authorBjorn Helgaas <bhelgaas@google.com>2016-01-06 00:56:30 +0300
committerBjorn Helgaas <bhelgaas@google.com>2016-01-11 17:37:15 +0300
commit67de2dc34cc30d334cb66ab4f466e80f04d5b618 (patch)
treee282df825640d717e00e914c99e533f0d5f40541 /lib/fdt_rw.c
parent116a489d78b30862a2dd04961d3ba98fe4704220 (diff)
downloadlinux-67de2dc34cc30d334cb66ab4f466e80f04d5b618.tar.xz
PCI: designware: Make config accessor override checking symmetric
Drivers based on the DesignWare core can override the config read accessors by supplying rd_own_conf() and rd_other_conf() function pointers. dw_pcie_rd_conf() calls dw_pcie_rd_own_conf() (for accesses to the root bus) or dw_pcie_rd_other_conf(): dw_pcie_rd_conf dw_pcie_rd_own_conf # if on root bus dw_pcie_rd_other_conf # if not on root bus Previously we checked for rd_other_conf() directly in dw_pcie_rd_conf(), but we checked for rd_own_conf() in dw_pcie_rd_own_conf(). Check for rd_other_conf() in dw_pcie_rd_other_conf() to make this symmetric with the rd_own_conf() checking, and similarly for the write path. No functional change intended. Signed-off-by: Bjorn Helgaas <bhelgaas@google.com> Acked-by: Pratyush Anand <pratyush.anand@gmail.com>
Diffstat (limited to 'lib/fdt_rw.c')
0 files changed, 0 insertions, 0 deletions