rpmsg_char_dev_t *rpmsg_char_open(enum rproc_id id, char *dev_name,
unsigned int local_endpt,
unsigned int remote_endpt,
char *eptdev_name, int flags);
int rpmsg_char_ping(int rproc_id, char *dev_name, unsigned int local_endpt, unsigned int remote_endpt,
int num_msgs)
{
int ret = 0;
int i = 0;
int packet_len;
char eptdev_name[32] = { 0 };
char packet_buf[512] = { 0 };
rpmsg_char_dev_t *rcdev;
int flags = 0;
rcdev = rpmsg_char_open(rproc_id, dev_name, local_endpt, remote_endpt, <------ 和函数原型不匹配
eptdev_name, flags);
}