]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - rpmsg/rpmsg.git/commit
remoteproc/pru: add pru_rproc_get_id() API to retrieve the PRU id
authorSuman Anna <s-anna@ti.com>
Mon, 26 Nov 2018 07:52:43 +0000 (09:52 +0200)
committerSuman Anna <s-anna@ti.com>
Sun, 24 Feb 2019 01:20:52 +0000 (19:20 -0600)
commita2636d319570f315a78ff6829221f671ff0f7c28
treec88c34601983b35a85768b7c6bbd773936cba3ec
parent8c84a06f059632f3359c9852ae7e5aa0fd4e0cff
remoteproc/pru: add pru_rproc_get_id() API to retrieve the PRU id

Export an API pru_rproc_get_id() to allow other PRUSS platform
drivers to clients to retrieve the PRU id from a remoteproc handle
associated with a PRU. The new function takes in a struct rproc
pointer as argument.

Signed-off-by: Suman Anna <s-anna@ti.com>
drivers/remoteproc/pru_rproc.c
include/linux/pruss.h