soc: qcom: socinfo: move SMEM item struct and defines to a header
authorRobert Marko <robimarko@gmail.com>
Fri, 26 May 2023 20:47:58 +0000 (22:47 +0200)
committerBjorn Andersson <andersson@kernel.org>
Sat, 27 May 2023 01:18:57 +0000 (18:18 -0700)
commitec001bb71e4476f7f5be9db693d5f43e65b9d8cb
treee5b7ffab2ad1464032aba1acd3335eb43e6c1565
parentbcb889891371c3cf767f2b9e8768cfe2fdd3810f
soc: qcom: socinfo: move SMEM item struct and defines to a header

Move SMEM item struct and related defines to a header in order to be able
to reuse them in the SMEM driver instead of duplicating them.

Signed-off-by: Robert Marko <robimarko@gmail.com>
Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org>
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Link: https://lore.kernel.org/r/20230526204802.3081168-1-robimarko@gmail.com
drivers/soc/qcom/socinfo.c
include/linux/soc/qcom/socinfo.h [new file with mode: 0644]