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:
parent
57e901e5ea
commit
99b6c77c79
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue