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<[email protected]>
Signed-off-by: Samuel Zou<[email protected]>
---
  drivers/staging/media/tegra-video/tegra210.c | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
Acked-by: Sowjanya Komatineni <[email protected]>
_______________________________________________
devel mailing list
[email protected]
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel

Reply via email to