qcacld-3.0: Extend the pld api to get PCI reg dump for kiwi

Extend the pld api to get PCI reg dump for kiwi.

Change-Id: I3dd25a40abacbe26a4ab4056a85a7224fc3040ce
CRs-Fixed: 3125184
This commit is contained in:
Mohammed Siddiq
2022-02-07 11:53:21 +05:30
committato da Madan Koyyalamudi
parent f8dfbbb1ef
commit 20e88cce9c

Vedi File

@@ -534,7 +534,7 @@ static inline void pld_pcie_link_down(struct device *dev)
} }
#if ((LINUX_VERSION_CODE >= KERNEL_VERSION(4, 19, 0)) && \ #if ((LINUX_VERSION_CODE >= KERNEL_VERSION(4, 19, 0)) && \
(LINUX_VERSION_CODE < KERNEL_VERSION(4, 20, 0))) (LINUX_VERSION_CODE < KERNEL_VERSION(5, 11, 0)))
static inline int pld_pcie_get_reg_dump(struct device *dev, uint8_t *buf, static inline int pld_pcie_get_reg_dump(struct device *dev, uint8_t *buf,
uint32_t len) uint32_t len)
{ {