]> git.karo-electronics.de Git - karo-tx-linux.git/commit
[media] easycap: compress initialization tables
authorTomas Winkler <tomas.winkler@intel.com>
Wed, 9 Nov 2011 11:26:34 +0000 (08:26 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Thu, 24 Nov 2011 21:10:36 +0000 (19:10 -0200)
commit7dbb3920252dcb3662e934b134ccb5129f62cbad
treebdbc68702fbde16f6f63665949c76ad837abb969
parent47cefc21ef4ce2c8caec931a2dbe7fef1727fc31
[media] easycap: compress initialization tables

1. saa and stk initialization tables are less then
256 entries
2. stk table can fit into u16 and saa into u8

size before
 text    data     bss     dec     hex filename
 105687    1072 1134800 1241559  12f1d7 easycap.ko

size after

 text    data     bss     dec     hex filename
 97919    1072 1134800 1233791  12d37f easycap.ko

Signed-off-by: Tomas Winkler <tomas.winkler@intel.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/staging/media/easycap/easycap_low.c