aboutsummaryrefslogtreecommitdiff
path: root/drivers/mtd/lpddr/lpddr_cmds.c
diff options
context:
space:
mode:
authorTal Gilboa <[email protected]>2018-03-30 08:24:36 -0500
committerBjorn Helgaas <[email protected]>2018-03-30 15:33:38 -0500
commitc70b65fb7f121da7d01f62588ce6abb4741f513f (patch)
tree383cdda6cad94b1ef9b3f116382221c3a379089e /drivers/mtd/lpddr/lpddr_cmds.c
parent6cf57be0f78e289aaf236f8bc55c40ea6c422c75 (diff)
PCI: Add pcie_get_width_cap() to find max supported link width
Add pcie_get_width_cap() to find the max link width supported by a device. Change max_link_width_show() to use pcie_get_width_cap(). Signed-off-by: Tal Gilboa <[email protected]> [bhelgaas: return width directly instead of error and *width, don't export outside drivers/pci] Signed-off-by: Bjorn Helgaas <[email protected]> Reviewed-by: Tariq Toukan <[email protected]>
Diffstat (limited to 'drivers/mtd/lpddr/lpddr_cmds.c')
0 files changed, 0 insertions, 0 deletions