qcacmn: Fix compilation issue for Hamiltion
Avoid setting TCL_R0_CMN_CONFIG register if this is not defined in HW headers Change-Id: I8fec6a5637deca8545da00fc8c631c0e26ba9a1e
This commit is contained in:

committed by
Madan Koyyalamudi

parent
8020841ce4
commit
7387592290
@@ -725,6 +725,7 @@ hal_tx_vdev_mcast_ctrl_set(hal_soc_handle_t hal_soc_hdl,
|
|||||||
*
|
*
|
||||||
* Return: void
|
* Return: void
|
||||||
*/
|
*/
|
||||||
|
#ifdef HWIO_TCL_R0_CMN_CONFIG_VDEVID_MISMATCH_EXCEPTION_BMSK
|
||||||
static inline void
|
static inline void
|
||||||
hal_tx_vdev_mismatch_routing_set(hal_soc_handle_t hal_soc_hdl,
|
hal_tx_vdev_mismatch_routing_set(hal_soc_handle_t hal_soc_hdl,
|
||||||
enum hal_tx_vdev_mismatch_notify config)
|
enum hal_tx_vdev_mismatch_notify config)
|
||||||
@@ -746,4 +747,11 @@ hal_tx_vdev_mismatch_routing_set(hal_soc_handle_t hal_soc_hdl,
|
|||||||
|
|
||||||
HAL_REG_WRITE(hal_soc, reg_addr, reg_val);
|
HAL_REG_WRITE(hal_soc, reg_addr, reg_val);
|
||||||
}
|
}
|
||||||
|
#else
|
||||||
|
static inline void
|
||||||
|
hal_tx_vdev_mismatch_routing_set(hal_soc_handle_t hal_soc_hdl,
|
||||||
|
enum hal_tx_vdev_mismatch_notify config)
|
||||||
|
{
|
||||||
|
}
|
||||||
|
#endif
|
||||||
#endif /* _HAL_BE_TX_H_ */
|
#endif /* _HAL_BE_TX_H_ */
|
||||||
|
Reference in New Issue
Block a user