Colin Ian King cee32edb23 media: cxusb: pass buf as a const u8 * pointer and make buf static const
Don't populate the read-only u8 array buf on the stack at run time but
instead make it static const; makes object code smaller saving over 480
bytes:

Before:
   text	   data	    bss	    dec	    hex	filename
  33030	  65936	    192	  99158	  18356	drivers/media/usb/dvb-usb/cxusb.o

After:
   text	   data	    bss	    dec	    hex	filename
  32446	  66032	    192	  98670	  1816e	drivers/media/usb/dvb-usb/cxusb.o

Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
2017-12-08 10:05:41 -05:00
..
2017-11-15 20:30:12 -08:00
2017-11-15 20:30:12 -08:00
2017-08-27 08:45:32 -04:00
2017-11-15 20:30:12 -08:00
2017-11-15 20:30:12 -08:00
2017-11-15 20:30:12 -08:00
2017-08-26 08:41:58 -04:00
2017-11-15 20:30:12 -08:00
2017-11-15 20:30:12 -08:00
2017-11-15 20:30:12 -08:00
2017-11-27 14:49:18 -05:00
2017-11-15 13:46:33 -08:00