media: em28xx: constify most static structs
authorMauro Carvalho Chehab <mchehab@s-opensource.com>
Thu, 1 Mar 2018 15:34:34 +0000 (10:34 -0500)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Tue, 6 Mar 2018 09:49:18 +0000 (04:49 -0500)
commit0108ae7fd2972707cde3fafa6fec555c50c64e28
treeb5f8261196f441b8fc504deaadccdfe5799783ec
parentaa62980be47e1fe1f40cbaf0a80589193faa7ab9
media: em28xx: constify most static structs

There are several em28xx static structs that can now be constified.

That caused a significant reduction at data segment:

Before:
   text    data     bss     dec     hex filename
  85017   59588     576  145181   2371d drivers/media/usb/em28xx/em28xx.o

After:
   text    data     bss     dec     hex filename
 112345   32292     576  145213   2373d drivers/media/usb/em28xx/em28xx.o

Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
drivers/media/usb/em28xx/em28xx-cards.c
drivers/media/usb/em28xx/em28xx-core.c
drivers/media/usb/em28xx/em28xx-input.c
drivers/media/usb/em28xx/em28xx.h