arch: cxd56xx: Rename to nxsem_set_protocol

nxsem_setprotocol function name was changed to nxsem_set_protocol.
Replace and fix hostif compile error.
This commit is contained in:
SPRESENSE 2021-06-17 19:12:19 +09:00 committed by Xiang Xiao
parent 4364a291f0
commit 75b6a260e0
1 changed files with 1 additions and 1 deletions

View File

@ -440,7 +440,7 @@ static int hif_initialize(struct hostif_buff_s *buffer)
cxd56_iccinit(CXD56_PROTO_HOSTIF);
nxsem_init(&drv->sync, 0, 0);
nxsem_setprotocol(&drv->sync, SEM_PRIO_NONE);
nxsem_set_protocol(&drv->sync, SEM_PRIO_NONE);
ret = cxd56_iccregisterhandler(CXD56_PROTO_HOSTIF, hif_rxhandler, NULL);