From: Andrzej Pietrasiewicz Date: Tue, 16 Nov 2021 14:38:41 +0000 (+0000) Subject: media: hantro: Staticize a struct in postprocessor code X-Git-Tag: v6.6.17~8435^2~201 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=be1b49f576a80167162707b90151d8a55bf567be;p=platform%2Fkernel%2Flinux-rpi.git media: hantro: Staticize a struct in postprocessor code The struct is not used outside this file, so it can be static. Signed-off-by: Andrzej Pietrasiewicz Reviewed-by: Ezequiel Garcia Signed-off-by: Hans Verkuil Signed-off-by: Mauro Carvalho Chehab --- diff --git a/drivers/staging/media/hantro/hantro_postproc.c b/drivers/staging/media/hantro/hantro_postproc.c index 4549aec08feb..89de43021779 100644 --- a/drivers/staging/media/hantro/hantro_postproc.c +++ b/drivers/staging/media/hantro/hantro_postproc.c @@ -33,7 +33,7 @@ #define VPU_PP_OUT_RGB 0x0 #define VPU_PP_OUT_YUYV 0x3 -const struct hantro_postproc_regs hantro_g1_postproc_regs = { +static const struct hantro_postproc_regs hantro_g1_postproc_regs = { .pipeline_en = {G1_REG_PP_INTERRUPT, 1, 0x1}, .max_burst = {G1_REG_PP_DEV_CONFIG, 0, 0x1f}, .clk_gate = {G1_REG_PP_DEV_CONFIG, 1, 0x1},