qcacld-3.0: Add PLD API to get wifi kobject

Add PLD API to get wifi kobject.

Change-Id: I136d3f4abec831ab05058678beb23fe2e1b05d49
CRs-Fixed: 3264204
Esse commit está contido em:
Sandeep Singh
2022-07-18 16:59:17 +05:30
commit de Madan Koyyalamudi
commit ca38ac5038
3 arquivos alterados com 50 adições e 0 exclusões

Ver arquivo

@@ -872,6 +872,14 @@ void *pld_smmu_get_mapping(struct device *dev);
#endif
int pld_smmu_map(struct device *dev, phys_addr_t paddr,
uint32_t *iova_addr, size_t size);
#if (LINUX_VERSION_CODE >= KERNEL_VERSION(5, 15, 0))
struct kobject *pld_get_wifi_kobj(struct device *dev);
#else
static inline struct kobject *pld_get_wifi_kobj(struct device *dev)
{
return NULL;
}
#endif
#ifdef CONFIG_SMMU_S1_UNMAP
int pld_smmu_unmap(struct device *dev,
uint32_t iova_addr, size_t size);