  
  	vdev->config->reset(vdev);
  
-@@ -1021,6 +1364,13 @@ static void rpmsg_remove(struct virtio_device *vdev)
+@@ -1021,6 +1350,13 @@ static void rpmsg_remove(struct virtio_device *vdev)
  
  	idr_destroy(&vrp->endpoints);
  

 	}
 
 	return 0;
@@ -885,6 +1190,10 @@ static int rpmsg_probe(struct virtio_device *vdev)
 	int err = 0, i;
 	size_t total_buf_space;
 	bool notify;

 /*
  * create an rpmsg channel using its name and address info.
  * this function will be used to create both static and dynamic
@@ -444,6 +694,7 @@ static struct rpmsg_device *rpmsg_create_channel(struct virtproc_info *vrp,
 
 	return rpdev;
 }
