media: bttv-input: make const array addr_list static
authorColin Ian King <colin.king@canonical.com>
Thu, 4 Oct 2018 13:59:06 +0000 (09:59 -0400)
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>
Tue, 9 Oct 2018 12:00:50 +0000 (08:00 -0400)
commitc93d541d3d9d3258a803de960bb830dbe8598cc8
tree329608db192147bd8299193f10367dec838ee4aa
parenteb1ca9a428fdc3f98be4898f6cd8bcb803878619
media: bttv-input: make const array addr_list static

The const array addr_list can be made static, saves populating it on
the stack and will make it read-only.

Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
drivers/media/pci/bt8xx/bttv-input.c