summaryrefslogtreecommitdiffstats
path: root/.mailmap
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2024-07-19 12:12:31 +0200
committerBjorn Andersson <andersson@kernel.org>2024-07-29 05:01:25 +0200
commitdbd6bd124e34f9f859271ed9ae2afc39f36c7e8c (patch)
tree0b9eace95b04321107f339127f59fc5f87d9174b /.mailmap
parentsoc: qcom: cmd-db: Map shared memory as WC, not WB (diff)
downloadlinux-dbd6bd124e34f9f859271ed9ae2afc39f36c7e8c.tar.xz
linux-dbd6bd124e34f9f859271ed9ae2afc39f36c7e8c.zip
soc: qcom: pd-mapper: mark qcom_pdm_domains as __maybe_unused
The qcom_pdm_domains[] array is used only when passing it into of_match_node() but is not also referenced by MODULE_DEVICE_TABLE() or the platform driver as a table. When CONFIG_OF is disabled, this causes a harmless build warning: drivers/soc/qcom/qcom_pd_mapper.c:520:34: error: 'qcom_pdm_domains' defined but not used [-Werror=unused-const-variable=] Avoid this by marking the variable as __maybe_unused. This also makes it clear that anything referenced by it will be dropped by the compiler when it is unused. Fixes: 1ebcde047c54 ("soc: qcom: add pd-mapper implementation") Signed-off-by: Arnd Bergmann <arnd@arndb.de> Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org> Link: https://lore.kernel.org/r/20240719101238.199850-1-arnd@kernel.org Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Diffstat (limited to '.mailmap')
0 files changed, 0 insertions, 0 deletions