media: em28xx-input: make const array addr_list static
authorColin Ian King <colin.king@canonical.com>
Fri, 8 Mar 2019 10:30:17 +0000 (05:30 -0500)
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>
Tue, 19 Mar 2019 20:53:18 +0000 (16:53 -0400)
commit6fe59b7eec391ad2e340f7727781cede099ab4c9
treec7f0155c77538022ba7dc6494886da15ba697637
parentc51f3b7f25dedca3f988defeee9d07f04e4f5401
media: em28xx-input: make const array addr_list static

Don't populate the array addr_list on the stack but instead make it
static. Makes the object code smaller by 20 bytes

Before:
   text    data     bss     dec     hex filename^M
  16929    3626     384   20939    51cb ../usb/em28xx/em28xx-input.o

After:
   text    data     bss     dec     hex filename^M
  16829    3706     384   20919    51b7 ../usb/em28xx/em28xx-input.o

(gcc version 8.3.0, aarch64)

Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Sean Young <sean@mess.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
drivers/media/usb/em28xx/em28xx-input.c