summaryrefslogtreecommitdiffstats
path: root/drivers/remoteproc/remoteproc_internal.h
diff options
context:
space:
mode:
authorBjorn Andersson2018-01-06 00:58:02 +0100
committerBjorn Andersson2018-01-15 18:29:48 +0100
commitd4bb86f2c39cdd31338dd0274540596aa9ae82c3 (patch)
treed5b5f9b2584029b957b4c741aa7fef6922fd8a93 /drivers/remoteproc/remoteproc_internal.h
parentremoteproc: Merge rproc_ops and rproc_fw_ops (diff)
downloadkernel-qcow2-linux-d4bb86f2c39cdd31338dd0274540596aa9ae82c3.tar.gz
kernel-qcow2-linux-d4bb86f2c39cdd31338dd0274540596aa9ae82c3.tar.xz
kernel-qcow2-linux-d4bb86f2c39cdd31338dd0274540596aa9ae82c3.zip
remoteproc: Don't handle empty resource table
Allow a NULL table_ptr to have the same meaning as a table with 0 entries, allowing a subsequent patch to skip the assignment step. A few other places in the implementation does dereference table_ptr, but they are currently all coming from rproc_handle_resources(). Reviewed-By: Loic Pallardy <loic.pallardy@st.com> Tested-By: Loic Pallardy <loic.pallardy@st.com> Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Diffstat (limited to 'drivers/remoteproc/remoteproc_internal.h')
0 files changed, 0 insertions, 0 deletions