diff options
author | Colin Ian King <colin.king@canonical.com> | 2017-09-08 23:08:51 +0200 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@s-opensource.com> | 2017-12-08 16:04:22 +0100 |
commit | 06ac35e52ba7d934501a37c308c1b0163c706dbf (patch) | |
tree | 37d773ea9ec7b7a311d5e63791e6376118b9330d /drivers/media/pci/solo6x10/solo6x10-gpio.c | |
parent | media: Staging: media: imx: Prefer using BIT macro (diff) | |
download | linux-06ac35e52ba7d934501a37c308c1b0163c706dbf.tar.xz 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 '')
0 files changed, 0 insertions, 0 deletions