alistair23-linux/drivers/ssb
Colin Ian King d3bb268681 ssb: make array pwr_info_offset static const, makes object smaller
Don't populate the array pwr_info_offset on the stack but instead make it
static const. Makes the object code smaller by 207 bytes.

Before:
   text	   data	    bss	    dec	    hex	filename
  26066	   3000	     64	  29130	   71ca	drivers/ssb/pci.o

After:
   text	   data	    bss	    dec	    hex	filename
  25763	   3096	     64	  28923	   70fb	drivers/ssb/pci.o

(gcc version 9.2.1, amd64)

Signed-off-by: Colin Ian King <colin.king@canonical.com>
Acked-by: Michael Büsch <m@bues.ch>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
2019-09-13 17:23:18 +03:00
..
b43_pci_bridge.c
bridge_pcmcia_80211.c
driver_chipcommon.c
driver_chipcommon_pmu.c
driver_chipcommon_sflash.c
driver_extif.c
driver_gige.c
driver_gpio.c ssb/gpio: Remove unnecessary WARN_ON from driver_gpio 2019-06-25 08:05:34 +03:00
driver_mipscore.c
driver_pcicore.c
embedded.c
host_soc.c
Kconfig treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
main.c
Makefile
pci.c ssb: make array pwr_info_offset static const, makes object smaller 2019-09-13 17:23:18 +03:00
pcihost_wrapper.c
pcmcia.c
scan.c
sdio.c
sprom.c
ssb_private.h