summaryrefslogtreecommitdiffstats
path: root/drivers/media/pci
diff options
context:
space:
mode:
authorColin Ian King <colin.king@canonical.com>2017-09-08 17:08:51 -0400
committerMauro Carvalho Chehab <mchehab@s-opensource.com>2017-12-08 10:04:22 -0500
commit06ac35e52ba7d934501a37c308c1b0163c706dbf (patch)
tree37d773ea9ec7b7a311d5e63791e6376118b9330d /drivers/media/pci
parentf54fb924a93b2e74acc0b7033a4b89d2d7886eb3 (diff)
downloadblackbird-obmc-linux-06ac35e52ba7d934501a37c308c1b0163c706dbf.tar.gz
blackbird-obmc-linux-06ac35e52ba7d934501a37c308c1b0163c706dbf.zip
media: tuners: mxl5005s: make arrays static const, reduces object code size
Don't populate the arrays RegAddr on the stack, instead make them static const. Makes the object code smaller by over 980 bytes: Before: text data bss dec hex filename 64923 304 0 65227 fecb drivers/media/tuners/mxl5005s.o After: text data bss dec hex filename 63779 464 0 64243 faf3 drivers/media/tuners/mxl5005s.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@s-opensource.com>
Diffstat (limited to 'drivers/media/pci')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud