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

Sowjanya Komatineni skomatineni at nvidia.com
Mon May 11 20:06:54 UTC 2020


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 at huawei.com>
> Signed-off-by: Samuel Zou<zou_wei at huawei.com>
> ---
>   drivers/staging/media/tegra-video/tegra210.c | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
Acked-by: Sowjanya Komatineni <skomatineni at nvidia.com>


More information about the devel mailing list