forked from luck/tmp_suning_uos_patched
ba1230b49a
commit cca21000261b2364991ecdb0d9e66b26ad9c4b4e upstream. Kernel test robot throws below warning -> >> drivers/remoteproc/mtk_scp.c:755:37: warning: unused variable >> 'mt8183_of_data' [-Wunused-const-variable] static const struct mtk_scp_of_data mt8183_of_data = { ^ >> drivers/remoteproc/mtk_scp.c:765:37: warning: unused variable >> 'mt8192_of_data' [-Wunused-const-variable] static const struct mtk_scp_of_data mt8192_of_data = { ^ As suggested by Bjorn, there's no harm in just dropping the of_match_ptr() wrapping of mtk_scp_of_match in the definition of mtk_scp_driver and we avoid this whole problem. Reported-by: kernel test robot <lkp@intel.com> Suggested-by: Bjorn Andersson <bjorn.andersson@linaro.org> Signed-off-by: Souptick Joarder <jrdr.linux@gmail.com> Link: https://lore.kernel.org/r/1606513855-21130-1-git-send-email-jrdr.linux@gmail.com Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> |
||
---|---|---|
.. | ||
da8xx_remoteproc.c | ||
imx_rproc.c | ||
ingenic_rproc.c | ||
Kconfig | ||
keystone_remoteproc.c | ||
Makefile | ||
mtk_common.h | ||
mtk_scp_ipi.c | ||
mtk_scp.c | ||
omap_remoteproc.c | ||
omap_remoteproc.h | ||
qcom_common.c | ||
qcom_common.h | ||
qcom_pil_info.c | ||
qcom_pil_info.h | ||
qcom_q6v5_adsp.c | ||
qcom_q6v5_mss.c | ||
qcom_q6v5_pas.c | ||
qcom_q6v5_wcss.c | ||
qcom_q6v5.c | ||
qcom_q6v5.h | ||
qcom_sysmon.c | ||
qcom_wcnss_iris.c | ||
qcom_wcnss.c | ||
qcom_wcnss.h | ||
remoteproc_cdev.c | ||
remoteproc_core.c | ||
remoteproc_coredump.c | ||
remoteproc_debugfs.c | ||
remoteproc_elf_helpers.h | ||
remoteproc_elf_loader.c | ||
remoteproc_internal.h | ||
remoteproc_sysfs.c | ||
remoteproc_virtio.c | ||
st_remoteproc.c | ||
st_slim_rproc.c | ||
stm32_rproc.c | ||
ti_k3_dsp_remoteproc.c | ||
ti_k3_r5_remoteproc.c | ||
ti_sci_proc.h | ||
wkup_m3_rproc.c |