diff --git a/core/pld/src/pld_pcie.h b/core/pld/src/pld_pcie.h index e0a7e53f63..d5fdf8651e 100644 --- a/core/pld/src/pld_pcie.h +++ b/core/pld/src/pld_pcie.h @@ -534,7 +534,7 @@ static inline void pld_pcie_link_down(struct device *dev) } #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, uint32_t len) {