media: cobalt: drop static for sd_fmt
authorHans Verkuil <hverkuil-cisco@xs4all.nl>
Wed, 7 Apr 2021 14:11:57 +0000 (16:11 +0200)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Fri, 9 Apr 2021 10:58:52 +0000 (12:58 +0200)
commita2e2c1b86209f056d1630983749baf0cd92af5ee
treef3c23aeceadceb87f76581b6e19f4375d4a013bc
parentf1995d5e43cf897f63b4d7a7f84a252d891ae820
media: cobalt: drop static for sd_fmt

The struct v4l2_subdev_format sd_fmt cannot be static since it can be
written back by the subdev. Just have it on the stack.

Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
drivers/media/pci/cobalt/cobalt-driver.c