Re: [PATCH -next] media: tegra: Make tegra210_video_formats static

From: Sowjanya Komatineni
Date: Mon May 11 2020 - 16:06:59 EST



On 5/11/20 4:20 AM, Samuel Zou wrote:
Fix the following sparse warning:

drivers/staging/media/tegra-video/tegra210.c:589:33: warning: symbol 'tegra210_video_formats' was not declared.

The tegra210_video_formats has only call site within tegra210.c
It should be static

Fixes: 423d10a99b30 ("media: tegra: Add Tegra210 Video input driver")
Reported-by: Hulk Robot<hulkci@xxxxxxxxxx>
Signed-off-by: Samuel Zou<zou_wei@xxxxxxxxxx>
---
drivers/staging/media/tegra-video/tegra210.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Acked-by: Sowjanya Komatineni <skomatineni@xxxxxxxxxx>