summaryrefslogtreecommitdiff
path: root/include/media
diff options
context:
space:
mode:
authorColin Ian King <colin.king@canonical.com>2017-09-12 08:08:13 -0300
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>2017-10-04 16:57:01 -0300
commit022565200a4f27ffcf9315b2194ca9454059d6b1 (patch)
tree90ac9c216283b114bb2e62ee387fdc155bed42b6 /include/media
parentbc66c99a7e65d3964b4c5d10f574d462f40ae48e (diff)
[media] gspca: make arrays static, reduces object code size
Don't populate const arrays on the stack, instead make them static. Makes the object code smaller by over 5200 bytes: Before: text data bss dec hex filename 58259 8880 128 67267 106c3 ov519.o After: text data bss dec hex filename 52155 9776 128 62059 f26b ov519.o Signed-off-by: Colin Ian King <colin.king@canonical.com> Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Diffstat (limited to 'include/media')
0 files changed, 0 insertions, 0 deletions