From: Alan Douglas Date: Mon, 25 Jun 2018 08:30:49 +0000 (+0100) Subject: PCI: cadence: Update cdns_pcie_writel() function signature X-Git-Tag: v4.19-rc1~123^2~6^2~5 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=7e37dc1db594d5a4ed062dbaf51ef89596a9df8a;p=thirdparty%2Flinux.git PCI: cadence: Update cdns_pcie_writel() function signature cdns_pcie_writel() writes a long value; change the value parameter type from u16 to u32 to rectify the function signature and related behaviour. Signed-off-by: Alan Douglas [lorenzo.pieralisi@arm.com: updated commit log] Signed-off-by: Lorenzo Pieralisi --- diff --git a/drivers/pci/controller/pcie-cadence.h b/drivers/pci/controller/pcie-cadence.h index 4bb27333b05cc..ed336cc7f4bae 100644 --- a/drivers/pci/controller/pcie-cadence.h +++ b/drivers/pci/controller/pcie-cadence.h @@ -279,7 +279,7 @@ static inline void cdns_pcie_ep_fn_writew(struct cdns_pcie *pcie, u8 fn, } static inline void cdns_pcie_ep_fn_writel(struct cdns_pcie *pcie, u8 fn, - u32 reg, u16 value) + u32 reg, u32 value) { writel(value, pcie->reg_base + CDNS_PCIE_EP_FUNC_BASE(fn) + reg); }