]> 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)
commit6f137a0b872cb12815b5ea3b6c37e221cb447532
treeb5f8261196f441b8fc504deaadccdfe5799783ec
parent395f035d89cdd2425168f73bbfc709e636d399ac
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