media: solo6x10: make const array saa7128_regs_ntsc static
authorColin Ian King <colin.king@canonical.com>
Mon, 10 Jul 2017 18:51:03 +0000 (14:51 -0400)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Wed, 19 Jul 2017 19:12:15 +0000 (15:12 -0400)
commitd7552a1eea5b24f81a6e0cc42b434fc6d803d3e0
treeda0b3e184008e5948664a0c77579ba09c7bd530a
parent57d8ba0f0f6a4cfd6b6e0ce112fb1db2fbdcd397
media: solo6x10: make const array saa7128_regs_ntsc static

Don't populate const array saa7128_regs_ntsc on the stack but insteaed make
it static.  Makes the object code smaller and saves nearly 840 bytes

Before:
   text    data     bss     dec     hex filename
   9218     360       0    9578    256a solo6x10-tw28.o

After:
   text    data     bss     dec     hex filename
   8237     504       0    8741    2225 solo6x10-tw28.o

Signed-off-by: Colin Ian King <colin.king@canonical.com>
Acked-by: Andrey Utkin <andrey_utkin@fastmail.com>
Signed-off-by: Ismael Luceno <ismael@iodev.co.uk>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
drivers/media/pci/solo6x10/solo6x10-tw28.c