]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitf12a00b824832326bd0a570e38737a2bfd7d3947
treeb5f8261196f441b8fc504deaadccdfe5799783ec
parentbb57e6cea8ab156d956bdfae25997b3942615268
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