Souptick Joarder
ba1230b49a
remoteproc/mediatek: Fix kernel test robot warning
...
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>
2021-03-07 12:34:15 +01:00
..
2019-08-26 21:59:58 -07:00
2020-03-25 22:29:38 -07:00
2020-07-01 16:05:18 -07:00
2020-10-13 18:34:38 -05:00
2020-03-25 22:29:38 -07:00
2020-10-13 18:34:38 -05:00
2021-03-04 11:38:14 +01:00
2020-09-25 23:37:42 -05:00
2021-03-07 12:34:15 +01:00
2020-08-23 17:36:59 -05:00
2020-03-25 22:29:51 -07:00
2020-07-13 11:54:27 -07:00
2020-07-08 21:45:03 -07:00
2020-07-16 21:30:35 -07:00
2020-07-01 22:10:18 -07:00
2020-12-30 11:53:48 +01:00
2020-12-30 11:53:48 +01:00
2020-12-30 11:53:48 +01:00
2020-07-01 22:10:19 -07:00
2020-07-27 23:21:31 -07:00
2020-03-25 22:29:45 -07:00
2020-12-30 11:54:28 +01:00
2019-05-30 11:26:41 -07:00
2020-07-01 22:10:19 -07:00
2017-11-02 11:10:55 +01:00
2020-08-04 20:16:37 -07:00
2020-10-06 07:07:03 +02:00
2020-10-13 19:20:54 -05:00
2020-10-13 19:20:54 -05:00
2020-03-25 22:29:39 -07:00
2020-04-22 21:57:26 -07:00
2020-08-04 20:16:37 -07:00
2020-10-13 19:22:51 -05:00
2020-10-06 07:07:03 +02:00
2020-04-22 21:57:26 -07:00
2020-04-22 21:57:26 -07:00
2020-09-15 03:45:57 +00:00
2020-12-30 11:53:48 +01:00
2020-10-13 18:34:40 -05:00
2020-07-28 17:06:43 -07:00
2020-03-25 22:29:38 -07:00