projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e73f0f0
)
firmware: qcom_scm: Mark string array const
author
Stephen Boyd
<swboyd@chromium.org>
Mon, 22 Feb 2021 03:14:31 +0000
(19:14 -0800)
committer
Bjorn Andersson
<bjorn.andersson@linaro.org>
Sat, 17 Jul 2021 04:47:48 +0000
(23:47 -0500)
Mark the qcom_scm_convention_names[] array const as it isn't changed.
Cc: Elliot Berman <eberman@codeaurora.org>
Fixes:
9a434cee773a
("firmware: qcom_scm: Dynamically support SMCCC and legacy conventions")
Signed-off-by: Stephen Boyd <swboyd@chromium.org>
Link:
https://lore.kernel.org/r/20210222031431.3831189-1-swboyd@chromium.org
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
drivers/firmware/qcom_scm.c
patch
|
blob
|
history
diff --git
a/drivers/firmware/qcom_scm.c
b/drivers/firmware/qcom_scm.c
index
47ea2bd
..
33db4a6
100644
(file)
--- a/
drivers/firmware/qcom_scm.c
+++ b/
drivers/firmware/qcom_scm.c
@@
-71,7
+71,7
@@
static struct qcom_scm_wb_entry qcom_scm_wb[] = {
{ .flag = QCOM_SCM_FLAG_WARMBOOT_CPU3 },
};
-static const char *qcom_scm_convention_names[] = {
+static const char *
const
qcom_scm_convention_names[] = {
[SMC_CONVENTION_UNKNOWN] = "unknown",
[SMC_CONVENTION_ARM_32] = "smc arm 32",
[SMC_CONVENTION_ARM_64] = "smc arm 64",