remoteproc: avoid registering a virtio device if not supported
authorMark Grosen <mgrosen@ti.com>
Tue, 13 Dec 2011 07:14:15 +0000 (09:14 +0200)
committerOhad Ben-Cohen <ohad@wizery.com>
Wed, 8 Feb 2012 20:54:17 +0000 (22:54 +0200)
commit7d2d3956fbc1aa9a3ccdc9389b88505232764d4f
tree6c217bb8b541801b9e51a66d7ee1f8f47f6789e2
parent0798e1da7a1cc467f56bfa5149a0eede5ae38f72
remoteproc: avoid registering a virtio device if not supported

Let remoteproc know when the firmware doesn't support any virtio
functionality, so registering a virtio device can be avoided.

This is needed for remote processors that doesn't require any
virtio-based communications, but are still controlled via remoteproc.

[ohad@wizery.com: write commit log]

Signed-off-by: Mark Grosen <mgrosen@ti.com>
Signed-off-by: Ohad Ben-Cohen <ohad@wizery.com>
drivers/remoteproc/remoteproc_core.c