On Fri, May 17, 2019 at 06:08:35PM +0530, Vidya Sagar wrote: > Move PCIe config space capability search API to common DesignWare file > as this can be used by both host and ep mode codes. > > Signed-off-by: Vidya Sagar > Acked-by: Gustavo Pimentel > --- > Changes since [v6]: > * Exported dw_pcie_find_capability() API > > Changes since [v5]: > * None > > Changes since [v4]: > * Removed redundant APIs in pcie-designware-ep.c file after moving them > to pcie-designware.c file based on Bjorn's comments. > > Changes since [v3]: > * Rebased to linux-next top of the tree > > Changes since [v2]: > * None > > Changes since [v1]: > * Removed dw_pcie_find_next_ext_capability() API from here and made a > separate patch for that > > .../pci/controller/dwc/pcie-designware-ep.c | 37 +---------------- > drivers/pci/controller/dwc/pcie-designware.c | 40 +++++++++++++++++++ > drivers/pci/controller/dwc/pcie-designware.h | 2 + > 3 files changed, 44 insertions(+), 35 deletions(-) Reviewed-by: Thierry Reding