lkml.org 
[lkml]   [2012]   [Jul]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectHow the registration of rpmsg devices should be done?
From
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


\
 
 \ /
  Last update: 2012-07-04 11:01    [W:0.055 / U:0.328 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site