Fix wireless/ieee80211/bcm43xxx/bcmf_gspi.c:151:20: error: unused function 'bcmf_gspi_write_reg_32'
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
parent
658dfeaf40
commit
416d7301c4
@ -140,22 +140,6 @@ static inline uint8_t bcmf_gspi_read_reg_8(FAR gspi_dev_t *gspi,
|
||||
return buffer;
|
||||
}
|
||||
|
||||
/****************************************************************************
|
||||
* Name: bcmf_gspi_write_reg_32
|
||||
*
|
||||
* Description:
|
||||
* Write a 32-bit register
|
||||
*
|
||||
****************************************************************************/
|
||||
|
||||
static inline void bcmf_gspi_write_reg_32(FAR gspi_dev_t *gspi,
|
||||
enum gspi_cmd_func_e function,
|
||||
uint32_t address,
|
||||
uint32_t value)
|
||||
{
|
||||
gspi->write(gspi, true, function, address, 4, &value);
|
||||
}
|
||||
|
||||
/****************************************************************************
|
||||
* Name: bcmf_gspi_write_reg_16
|
||||
*
|
||||
|
Loading…
Reference in New Issue
Block a user