]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit - drivers/media/i2c/adv7604.c
[media] adv7604: Don't put info string arrays on the stack
authorLars-Peter Clausen <lars@metafoo.de>
Mon, 25 Nov 2013 19:15:29 +0000 (16:15 -0300)
committerMauro Carvalho Chehab <m.chehab@samsung.com>
Sun, 25 May 2014 15:51:35 +0000 (12:51 -0300)
commitf216ccb3d9d5603f750e50dbe66190de87dc52d8
tree66e99a3aa379a659543640b9918c736ffc0506df
parentbedc3939dc866e0bf2648ca3700119bf6c3e54de
[media] adv7604: Don't put info string arrays on the stack

We do not want to modify the info string arrays ever, so no need to
waste stack space for them. While we are at it also make them const.

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
drivers/media/i2c/adv7604.c