mirror of
https://github.com/torvalds/linux.git
synced 2026-05-26 08:02:27 +02:00
media: mtk-vcodec: fix warnings: symbol XXX was not declared
Fixes sparse warnings: - warning: symbol 'mtk_vdec_8173_pdata' was not declared. Should it be static? - warning: symbol 'mtk_vdec_8183_pdata' was not declared. Should it be static? Link: https://lore.kernel.org/linux-media/20210809131940.2890108-1-tzungbi@google.com Cc: linux-mediatek@lists.infradead.org, linux-media@vger.kernel.org, linux-arm-kernel@lists.infradead.org, tzungbi@google.com # X-LSpam-Score: -10.7 (----------) Signed-off-by: Tzung-Bi Shih <tzungbi@google.com> Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
This commit is contained in:
parent
3766d0d838
commit
6f53b05b8b
|
|
@ -65,6 +65,8 @@ struct mtk_video_dec_buf {
|
|||
extern const struct v4l2_ioctl_ops mtk_vdec_ioctl_ops;
|
||||
extern const struct v4l2_m2m_ops mtk_vdec_m2m_ops;
|
||||
extern const struct media_device_ops mtk_vcodec_media_ops;
|
||||
extern const struct mtk_vcodec_dec_pdata mtk_vdec_8173_pdata;
|
||||
extern const struct mtk_vcodec_dec_pdata mtk_vdec_8183_pdata;
|
||||
|
||||
|
||||
/*
|
||||
|
|
|
|||
|
|
@ -372,9 +372,6 @@ static int mtk_vcodec_probe(struct platform_device *pdev)
|
|||
return ret;
|
||||
}
|
||||
|
||||
extern const struct mtk_vcodec_dec_pdata mtk_vdec_8173_pdata;
|
||||
extern const struct mtk_vcodec_dec_pdata mtk_vdec_8183_pdata;
|
||||
|
||||
static const struct of_device_id mtk_vcodec_match[] = {
|
||||
{
|
||||
.compatible = "mediatek,mt8173-vcodec-dec",
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user