firmware: qcom: scm: Generalize shared error map
authorAndy Gross <andy.gross@linaro.org>
Fri, 3 Jun 2016 23:25:24 +0000 (18:25 -0500)
committerAndy Gross <andy.gross@linaro.org>
Fri, 24 Jun 2016 18:33:59 +0000 (13:33 -0500)
commit11bdcee4a6b9ff0b09144a81a6b903cbfa599be7
tree4eaa6e63a52bd7d03bcd8131be9876d34a423272
parent13e77747800ef71224a12f787ebd26b27c16ff12
firmware: qcom: scm: Generalize shared error map

This patch moves the qcom_scm_remap_error function to the include file
where can be used by both the 32 and 64 bit versions of the code.

Reviewed-by: Stephen Boyd <sboyd@codeaurora.org>
Acked-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Signed-off-by: Andy Gross <agross@codeaurora.org>
Signed-off-by: Andy Gross <andy.gross@linaro.org>
drivers/firmware/qcom_scm-32.c
drivers/firmware/qcom_scm.h