diff options
author | Colin Ian King <colin.king@canonical.com> | 2017-09-07 05:50:23 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@s-opensource.com> | 2017-09-23 08:30:25 -0400 |
commit | 601b1f0ac7fadbe90cc04c41a1cb31c7cd402fea (patch) | |
tree | 2c16b4680b48340a7ea679d981846662ce8ac4f9 /drivers/media/pci/meye/meye.c | |
parent | 3ff692fad32829b5b2199273d2b35273ecab007f (diff) |
media: cx23885: make const array buf static, reduces object code size
Don't populate the array buf on the stack, instead make it static.
Makes the object code smaller by over 240 bytes:
Before:
text data bss dec hex filename
21689 22992 416 45097 b029 cx23885-cards.o
After:
text data bss dec hex filename
21348 23088 416 44852 af34 cx23885-cards.o
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Hans Verkuil <hansverk@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Diffstat (limited to 'drivers/media/pci/meye/meye.c')
0 files changed, 0 insertions, 0 deletions