]> git.baikalelectronics.ru Git - kernel.git/commit
remoteproc: support default firmware name in rproc_alloc()
authorRobert Tivy <rtivy@ti.com>
Fri, 29 Mar 2013 01:41:44 +0000 (18:41 -0700)
committerOhad Ben-Cohen <ohad@wizery.com>
Sun, 7 Apr 2013 12:40:04 +0000 (15:40 +0300)
commitb7c393061a6a86475564521e9b30b39d7decdb4a
tree2ccfb6df12fc10d3c4219184202c9d8246e5bfe1
parent9e1c0d2a465a82d46f132d93e13b357354f46b73
remoteproc: support default firmware name in rproc_alloc()

If rproc_alloc isn't given a firmware name, look for a default
one using the "rproc-%s-fw" template.

Signed-off-by: Robert Tivy <rtivy@ti.com>
[add commit log, document change, use snprintf, minor style change]
Signed-off-by: Ohad Ben-Cohen <ohad@wizery.com>
drivers/remoteproc/remoteproc_core.c