qcacmn: Fix compilation issue for hamilton

This changes fixes the compilation issue reported for
Hamilton

Change-Id: I96c514570ab5262117a05fafe5fb3ae5b8bc625f
这个提交包含在:
Chaithanya Garrepalli
2021-08-15 21:51:09 +05:30
提交者 Madan Koyyalamudi
父节点 a41cb25122
当前提交 f0c19cfc51
修改 3 个文件,包含 15 行新增4 行删除

查看文件

@@ -510,6 +510,8 @@ hal_tx_populate_bank_register(hal_soc_handle_t hal_soc_hdl,
}
#endif
#ifdef DP_TX_IMPLICIT_RBM_MAPPING
#define RBM_MAPPING_BMSK HWIO_TCL_R0_RBM_MAPPING0_SW2TCL1_RING_BMSK
#define RBM_MAPPING_SHFT HWIO_TCL_R0_RBM_MAPPING0_SW2TCL2_RING_SHFT
@@ -561,6 +563,14 @@ hal_tx_config_rbm_mapping_be(struct hal_soc *hal_soc,
/* write rbm mapped value to register address */
HAL_REG_WRITE(hal_soc, reg_addr, reg_val);
}
#else
static inline void
hal_tx_config_rbm_mapping_be(struct hal_soc *hal_soc,
hal_ring_handle_t hal_ring_hdl,
uint8_t rbm_id)
{
}
#endif
/**
* hal_tx_desc_set_buf_addr_be - Fill Buffer Address information in Tx Desc