drivers/rptun: minor fix about rptun

1. follow the nxstyle, change formot of rptun_init();
2. remove used wqueue header file;

Signed-off-by: Bowen Wang <wangbowen6@xiaomi.com>
This commit is contained in:
Bowen Wang 2024-10-11 12:41:43 +08:00 committed by Xiang Xiao
parent 57e901e5ea
commit 99b6c77c79
1 changed files with 8 additions and 7 deletions

View File

@ -39,7 +39,6 @@
#include <nuttx/power/pm.h>
#include <nuttx/rptun/rptun.h>
#include <nuttx/semaphore.h>
#include <nuttx/wqueue.h>
#include <metal/utilities.h>
#include <openamp/remoteproc_loader.h>
#include <openamp/remoteproc_virtio.h>
@ -82,7 +81,8 @@ struct rptun_store_s
* Private Function Prototypes
****************************************************************************/
static FAR struct remoteproc *rptun_init(FAR struct remoteproc *rproc,
static FAR struct remoteproc *
rptun_init(FAR struct remoteproc *rproc,
FAR const struct remoteproc_ops *ops,
FAR void *arg);
static void rptun_remove(FAR struct remoteproc *rproc);
@ -416,7 +416,8 @@ static int rptun_callback(FAR void *arg, uint32_t vqid)
return OK;
}
static FAR struct remoteproc *rptun_init(FAR struct remoteproc *rproc,
static FAR struct remoteproc *
rptun_init(FAR struct remoteproc *rproc,
FAR const struct remoteproc_ops *ops,
FAR void *arg)
{