media: staging: atomisp: gc2235: fix sparse warning: missing static
Several local use structs were missing declarations. Added static qualifier to clean up Sparse warning. Signed-off-by: Guillermo O. Freschi <kedrot@gmail.com> Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
This commit is contained in:
parent
dd69a3c1de
commit
6da2fa86e5
@ -480,7 +480,7 @@ static const struct v4l2_ctrl_ops ctrl_ops = {
|
||||
.g_volatile_ctrl = gc2235_g_volatile_ctrl
|
||||
};
|
||||
|
||||
struct v4l2_ctrl_config gc2235_controls[] = {
|
||||
static struct v4l2_ctrl_config gc2235_controls[] = {
|
||||
{
|
||||
.ops = &ctrl_ops,
|
||||
.id = V4L2_CID_EXPOSURE_ABSOLUTE,
|
||||
|
@ -530,7 +530,7 @@ static struct gc2235_reg const gc2235_1616_1216_30fps[] = {
|
||||
{ GC2235_TOK_TERM, 0, 0 }
|
||||
};
|
||||
|
||||
struct gc2235_resolution gc2235_res_preview[] = {
|
||||
static struct gc2235_resolution gc2235_res_preview[] = {
|
||||
|
||||
{
|
||||
.desc = "gc2235_1600_900_30fps",
|
||||
@ -582,7 +582,7 @@ struct gc2235_resolution gc2235_res_preview[] = {
|
||||
};
|
||||
#define N_RES_PREVIEW (ARRAY_SIZE(gc2235_res_preview))
|
||||
|
||||
struct gc2235_resolution gc2235_res_still[] = {
|
||||
static struct gc2235_resolution gc2235_res_still[] = {
|
||||
{
|
||||
.desc = "gc2235_1600_900_30fps",
|
||||
.width = 1600,
|
||||
@ -632,7 +632,7 @@ struct gc2235_resolution gc2235_res_still[] = {
|
||||
};
|
||||
#define N_RES_STILL (ARRAY_SIZE(gc2235_res_still))
|
||||
|
||||
struct gc2235_resolution gc2235_res_video[] = {
|
||||
static struct gc2235_resolution gc2235_res_video[] = {
|
||||
{
|
||||
.desc = "gc2235_1296_736_30fps",
|
||||
.width = 1296,
|
||||
|
Loading…
x
Reference in New Issue
Block a user