mirror of
https://github.com/torvalds/linux.git
synced 2026-06-08 14:42:37 +02:00
media: rkvdec: Remove of_match_ptr()
commitc2357dd9cbupstream. When building with CONFIG_OF not set, the following clang build warning is seen: >> drivers/staging/media/rkvdec/rkvdec.c:967:34: warning: unused variable 'of_rkvdec_match' [-Wunused-const-variable] Fix the warning by removing the unnecessary of_match_ptr(). Reported-by: kernel test robot <lkp@intel.com> Fixes:cd33c83044("media: rkvdec: Add the rkvdec driver") Signed-off-by: Fabio Estevam <festevam@gmail.com> Reviewed-by: Ezequiel Garcia <ezequiel@collabora.com> Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
b0402e7853
commit
667627fa85
|
|
@ -1107,7 +1107,7 @@ static struct platform_driver rkvdec_driver = {
|
||||||
.remove = rkvdec_remove,
|
.remove = rkvdec_remove,
|
||||||
.driver = {
|
.driver = {
|
||||||
.name = "rkvdec",
|
.name = "rkvdec",
|
||||||
.of_match_table = of_match_ptr(of_rkvdec_match),
|
.of_match_table = of_rkvdec_match,
|
||||||
.pm = &rkvdec_pm_ops,
|
.pm = &rkvdec_pm_ops,
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user