Messages in this thread | | | Date | Wed, 4 Jul 2012 16:26:48 +0800 | Subject | How the registration of rpmsg devices should be done? | From | Tzu-Jung Lee <> |
| |
Hi,
I working on the IPC functionality on our SoC and is looking into the rpmsg & remoteproc framework of inux v3.4.
However, a piece of code seems to be missing in the drivers/rpmsg/virtio_rpmsg_bus.c linux-v3.4 (compared to the omap/linux-kernel-3.0)
@@ -898,82 +667,91 @@ static int rpmsg_probe(struct virtio_device *vdev)
+ /* look for platform-specific static channels */ + vdev->config->get(vdev, VPROC_STATIC_CHANNELS, &ch, sizeof(ch)); + + for (i = 0; ch && ch[i].name[0]; i++) + rpmsg_create_channel(vrp, &ch[i]);
Since rpmsg_create_channel() is static and internal to rpmsg module, I'm wondering how the registration of rpmsg device should be done?
Thanks, Roy
| |