]> asedeno.scripts.mit.edu Git - linux.git/commit
media: ivtv: make const array addr_list static
authorColin Ian King <colin.king@canonical.com>
Thu, 4 Oct 2018 14:02:14 +0000 (10:02 -0400)
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>
Tue, 9 Oct 2018 12:02:00 +0000 (08:02 -0400)
commitdb6df013c3fbf3a87e2fbf675bd900b5e1167f00
tree1b41151b0c8ba691b9d327f1f110c418731de5b3
parentc93d541d3d9d3258a803de960bb830dbe8598cc8
media: ivtv: 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/ivtv/ivtv-i2c.c