From 3b3bf0e38959581351fdd75509d449ab923809f2 Mon Sep 17 00:00:00 2001 From: Zou Wei Date: Tue, 12 Jan 2021 02:27:14 +0100 Subject: [PATCH] media: ti-vpe: cal: Mark cal_camerarx_media_ops with static keyword Fix the following sparse warning: drivers/media/platform/ti-vpe/cal-camerarx.c:783:32: warning: symbol 'cal_camerarx_media_ops' was not declared. Should it be static? Signed-off-by: Zou Wei Signed-off-by: Hans Verkuil Signed-off-by: Mauro Carvalho Chehab --- drivers/media/platform/ti-vpe/cal-camerarx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/media/platform/ti-vpe/cal-camerarx.c b/drivers/media/platform/ti-vpe/cal-camerarx.c index 1920f36137b8..dd48017859cd 100644 --- a/drivers/media/platform/ti-vpe/cal-camerarx.c +++ b/drivers/media/platform/ti-vpe/cal-camerarx.c @@ -780,7 +780,7 @@ static const struct v4l2_subdev_ops cal_camerarx_subdev_ops = { .pad = &cal_camerarx_pad_ops, }; -struct media_entity_operations cal_camerarx_media_ops = { +static struct media_entity_operations cal_camerarx_media_ops = { .link_validate = v4l2_subdev_link_validate, };