diff options
author | Colin Ian King <colin.king@canonical.com> | 2017-07-11 12:43:49 +0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@s-opensource.com> | 2017-07-19 22:12:39 +0300 |
commit | e5c50e130ddc7976a989b1412ded4cd35ac7a8b0 (patch) | |
tree | a9564d66a568e9c04da0dd6110f09c33d1bfbf9d /drivers/media/platform/davinci | |
parent | d7552a1eea5b24f81a6e0cc42b434fc6d803d3e0 (diff) | |
download | linux-e5c50e130ddc7976a989b1412ded4cd35ac7a8b0.tar.xz |
media: fc001[23]: make const gain table arrays static
Don't populate the gain tables on the stack but make them static const.
Makes the object code smaller:
Before:
text data bss dec hex filename
7801 1408 0 9209 23f9 drivers/media/tuners/fc0012.o
8483 936 0 9419 24cb drivers/media/tuners/fc0013.o
After:
text data bss dec hex filename
7696 1464 0 9160 23c8 drivers/media/tuners/fc0012.o
8362 1024 0 9386 24aa drivers/media/tuners/fc0013.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/platform/davinci')
0 files changed, 0 insertions, 0 deletions