fix nxstyle warning
Signed-off-by: zhongan <zhongan@xiaomi.com>
This commit is contained in:
parent
546e35fc98
commit
927cb00f5e
@ -551,7 +551,8 @@ static int rptun_dev_stop(FAR struct remoteproc *rproc)
|
|||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
static int rptun_dev_ioctl(FAR struct file *filep, int cmd, unsigned long arg)
|
static int rptun_dev_ioctl(FAR struct file *filep, int cmd,
|
||||||
|
unsigned long arg)
|
||||||
{
|
{
|
||||||
FAR struct inode *inode = filep->f_inode;
|
FAR struct inode *inode = filep->f_inode;
|
||||||
FAR struct rptun_priv_s *priv = inode->i_private;
|
FAR struct rptun_priv_s *priv = inode->i_private;
|
||||||
@ -577,7 +578,8 @@ static int rptun_dev_ioctl(FAR struct file *filep, int cmd, unsigned long arg)
|
|||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
static int rptun_store_open(FAR void *store_, FAR const char *path,
|
static int rptun_store_open(FAR void *store_,
|
||||||
|
FAR const char *path,
|
||||||
FAR const void **img_data)
|
FAR const void **img_data)
|
||||||
{
|
{
|
||||||
FAR struct rptun_store_s *store = store_;
|
FAR struct rptun_store_s *store = store_;
|
||||||
@ -777,7 +779,8 @@ void rpmsg_unregister_callback(FAR void *priv_,
|
|||||||
{
|
{
|
||||||
struct rptun_priv_s *priv;
|
struct rptun_priv_s *priv;
|
||||||
|
|
||||||
priv = metal_container_of(pnode, struct rptun_priv_s, node);
|
priv = metal_container_of(pnode,
|
||||||
|
struct rptun_priv_s, node);
|
||||||
device_destroy(&priv->vdev.rdev, priv_);
|
device_destroy(&priv->vdev.rdev, priv_);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -269,7 +269,8 @@ struct rptun_ops_s
|
|||||||
CODE FAR const char *(*get_cpuname)(FAR struct rptun_dev_s *dev);
|
CODE FAR const char *(*get_cpuname)(FAR struct rptun_dev_s *dev);
|
||||||
CODE FAR const char *(*get_firmware)(FAR struct rptun_dev_s *dev);
|
CODE FAR const char *(*get_firmware)(FAR struct rptun_dev_s *dev);
|
||||||
|
|
||||||
CODE FAR const struct rptun_addrenv_s *(*get_addrenv)(FAR struct rptun_dev_s *dev);
|
CODE FAR const struct rptun_addrenv_s *(*get_addrenv)(
|
||||||
|
FAR struct rptun_dev_s *dev);
|
||||||
CODE FAR struct rptun_rsc_s *(*get_resource)(FAR struct rptun_dev_s *dev);
|
CODE FAR struct rptun_rsc_s *(*get_resource)(FAR struct rptun_dev_s *dev);
|
||||||
|
|
||||||
CODE bool (*is_autostart)(FAR struct rptun_dev_s *dev);
|
CODE bool (*is_autostart)(FAR struct rptun_dev_s *dev);
|
||||||
|
Loading…
Reference in New Issue
Block a user