remoteproc: core: Export the rproc coredump APIs
authorSiddharth Gupta <sidgup@codeaurora.org>
Fri, 24 Feb 2023 21:17:06 +0000 (13:17 -0800)
committerBjorn Andersson <andersson@kernel.org>
Sat, 15 Jul 2023 19:56:48 +0000 (12:56 -0700)
commitf247f08da0ce822de0d6b2feec811dd6d4d599ce
tree65bf9156da172dfb6555b5e40c9ef32281f07e6e
parent0ee55c188a3c97309a6794077d5ef4ebd58f62cb
remoteproc: core: Export the rproc coredump APIs

The remoteproc coredump APIs are currently only part of the internal
remoteproc header. This prevents the remoteproc platform drivers from
using these APIs when needed. This change moves the rproc_coredump()
and rproc_coredump_cleanup() APIs to the linux header and marks them
as exported symbols.

Signed-off-by: Siddharth Gupta <sidgup@codeaurora.org>
Signed-off-by: Gokul krishna Krishnakumar <quic_gokukris@quicinc.com>
Link: https://lore.kernel.org/r/20230224211707.30916-2-quic_gokukris@quicinc.com
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
drivers/remoteproc/remoteproc_coredump.c
drivers/remoteproc/remoteproc_internal.h
include/linux/remoteproc.h