Skip to content

Commit 8e3d018

Browse files
SamuelZOUthierryreding
authored andcommitted
media: tegra-video: Make tegra210_video_formats static
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: 423d10a ("media: tegra: Add Tegra210 Video input driver") Reported-by: Hulk Robot <[email protected]> Signed-off-by: Samuel Zou <[email protected]> Acked-by: Sowjanya Komatineni <[email protected]> Signed-off-by: Thierry Reding <[email protected]>
1 parent 6a5c297 commit 8e3d018

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/staging/media/tegra-video/tegra210.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -586,7 +586,7 @@ enum tegra210_image_format {
586586
}
587587

588588
/* Tegra210 supported video formats */
589-
const struct tegra_video_format tegra210_video_formats[] = {
589+
static const struct tegra_video_format tegra210_video_formats[] = {
590590
/* RAW 8 */
591591
TEGRA210_VIDEO_FMT(RAW8, 8, SRGGB8_1X8, 1, T_L8, SRGGB8),
592592
TEGRA210_VIDEO_FMT(RAW8, 8, SGRBG8_1X8, 1, T_L8, SGRBG8),

0 commit comments

Comments
 (0)