OpenCloudOS-Kernel/drivers/staging
Colin Ian King 64e9c200a0 staging: fbtft: make several arrays static const, makes object smaller
Don't populate the arrays on the stack but instead make them
static const. Makes the object code smaller by 1329 bytes.

Before:
   text	   data	    bss	    dec	    hex	filename
   5581	   1488	     64	   7133	   1bdd	drivers/staging/fbtft/fb_hx8340bn.o
   5444	   1264	      0	   6708	   1a34	drivers/staging/fbtft/fb_hx8347d.o
   3581	   1360	      0	   4941	   134d	drivers/staging/fbtft/fb_ili9163.o
   7154	   1552	      0	   8706	   2202	drivers/staging/fbtft/fb_ili9320.o
   7478	   2544	      0	  10022	   2726	drivers/staging/fbtft/fb_ili9325.o
   6327	   1424	      0	   7751	   1e47	drivers/staging/fbtft/fb_s6d1121.o
   6498	   1776	      0	   8274	   2052	drivers/staging/fbtft/fb_ssd1289.o

After:
   text	   data	    bss	    dec	    hex	filename
   5376	   1584	     64	   7024	   1b70	drivers/staging/fbtft/fb_hx8340bn.o
   5276	   1328	      0	   6604	   19cc	drivers/staging/fbtft/fb_hx8347d.o
   3581	   1360	      0	   4941	   134d	drivers/staging/fbtft/fb_ili9163.o
   6905	   1616	      0	   8521	   2149	drivers/staging/fbtft/fb_ili9320.o
   7229	   2608	      0	   9837	   266d	drivers/staging/fbtft/fb_ili9325.o
   6030	   1488	      0	   7518	   1d5e	drivers/staging/fbtft/fb_s6d1121.o
   6249	   1872	      0	   8121	   1fb9	drivers/staging/fbtft/fb_ssd1289.o

(gcc version 9.2.1, amd64)

Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: https://patchwork.freedesktop.org/patch/msgid/20190906153052.31846-1-colin.king@canonical.com
2019-09-17 14:38:53 +02:00
..
android staging: android: ion: Remove file ion_chunk_heap.c 2019-07-03 18:25:07 +02:00
axis-fifo staging: remove redundant 'default n' from Kconfig 2019-04-16 13:39:01 +02:00
board staging: add missing SPDX lines to Makefile files 2019-04-03 11:10:15 +02:00
clocking-wizard staging: add missing SPDX lines to Makefile files 2019-04-03 11:10:15 +02:00
comedi staging: comedi: mite: Replace function mite_request_channel_in_range() 2019-07-03 18:28:28 +02:00
emxx_udc staging: add missing SPDX lines to Makefile files 2019-04-03 11:10:15 +02:00
erofs staging: erofs: fix LZ4 limited bounced page mis-reuse 2019-07-03 18:20:21 +02:00
fbtft staging: fbtft: make several arrays static const, makes object smaller 2019-09-17 14:38:53 +02:00
fieldbus Staging / IIO driver update for 5.3-rc1 2019-07-11 15:36:02 -07:00
fsl-dpaa2 staging: fsl-dpaa2/ethsw: fix memory leak of switchdev_work 2019-06-09 13:07:23 +02:00
fwserial staging: add missing SPDX lines to Makefile files 2019-04-03 11:10:15 +02:00
gasket staging/gasket: Fix string split 2019-05-30 14:09:47 -07:00
gdm724x staging: add missing SPDX lines to Kconfig files 2019-04-03 11:10:15 +02:00
goldfish staging: add missing SPDX lines to Makefile files 2019-04-03 11:10:15 +02:00
greybus staging: greybus: tools: Remove function log_csv_error() 2019-07-01 08:50:37 +02:00
gs_fpgaboot staging: remove redundant 'default n' from Kconfig 2019-04-16 13:39:01 +02:00
iio Second set of IIO device support, features, cleanups and minor fixes for 5.3. 2019-07-01 10:58:13 +02:00
isdn Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2019-06-07 11:00:14 -07:00
kpc2000 staging: kpc2000: simplify comparison to NULL in fileops.c 2019-07-04 10:40:44 +02:00
ks7010 Revert "staging: ks7010: Fix build error" 2019-06-24 16:45:34 +08:00
media drm main pull request for v5.3-rc1 (sans mm changes) 2019-07-15 19:04:27 -07:00
most Driver Core and debugfs changes for 5.3-rc1 2019-07-12 12:24:03 -07:00
mt7621-dma staging: mt7621-dma: sizeof via pointer dereference 2019-05-30 17:22:47 -07:00
mt7621-dts staging: mt7621-dts: add support for second network interface 2019-07-03 18:28:29 +02:00
mt7621-pci staging: mt7621-pci: fix PCIE_FTS_NUM_LO macro 2019-07-01 08:58:21 +02:00
mt7621-pci-phy staging: mt7621-pci-phy: remove disable clock from the phy exit function 2019-06-21 16:50:10 +02:00
mt7621-pinctrl staging: add missing SPDX lines to Makefile files 2019-04-03 11:10:15 +02:00
netlogic staging: netlogic: Change GFP_ATOMIC to GFP_KERNEL 2019-07-01 09:07:03 +02:00
nvec staging: add missing SPDX lines to Kconfig files 2019-04-03 11:10:15 +02:00
octeon Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next 2019-05-07 22:03:58 -07:00
octeon-usb staging: octeon-usb: Remove return variable 2019-05-30 14:13:45 -07:00
olpc_dcon staging/olpc_dcon: Add drm conversion to TODO 2019-06-13 10:07:15 +02:00
pi433 staging: pi433: Remove unnecessary variable 2019-05-24 09:00:44 +02:00
ralink-gdma Staging: ralink-gdma: fixed a brace coding style issue 2019-06-09 13:10:28 +02:00
rtl8188eu staging/rtl8188eu/os_dep: Remove unneeded variable ret 2019-07-01 09:07:03 +02:00
rtl8192e staging: rtl8192e: remove redundant initialization of rtstatus 2019-07-03 18:34:09 +02:00
rtl8192u staging: rtl8192u: Replace function rtl8192_rx_enable() 2019-07-03 18:32:09 +02:00
rtl8712 staging: rtl8712: Replace function r8712_dequeue_cmd() 2019-07-01 10:44:06 +02:00
rtl8723bs Merge branch 'akpm' (patches from Andrew) 2019-07-12 11:40:28 -07:00
rts5208 staging: rts5208: Simplify boolean expression to improve code style 2019-07-01 09:05:21 +02:00
sm750fb docs: kbuild: convert docs to ReST and rename to *.rst 2019-06-14 14:21:21 -06:00
speakup staging: speakup: serialio: fix warning linux/serial.h is included more than once 2019-05-30 13:59:16 -07:00
unisys docs: driver-model: move it to the driver-api book 2019-07-15 11:03:02 -03:00
vc04_services Staging / IIO driver update for 5.3-rc1 2019-07-11 15:36:02 -07:00
vme staging: add missing SPDX lines to Makefile files 2019-04-03 11:10:15 +02:00
vt6655 staging: Add missing newline at end of file 2019-06-18 08:59:40 +02:00
vt6656 staging: vt6656: fix indentation on break statement 2019-06-20 14:32:07 +02:00
wilc1000 staging: wilc1000: rename 'host_interface' source and header 2019-07-01 09:01:41 +02:00
wlan-ng Merge 5.2-rc3 into staging-next 2019-06-03 07:27:16 +02:00
Kconfig isdn: move capi drivers to staging 2019-05-31 11:17:41 +02:00
Makefile isdn: move capi drivers to staging 2019-05-31 11:17:41 +02:00