1
0
Fork 0
alistair23-linux/drivers/nfc/s3fwrn5
Colin Ian King 5057f6647b nfc: s3fwrn5: make array match static const
Don't populate the read-only array match on the stack, instead make
it static const.  Makes the object code smaller by over 310 bytes:

Before:
   text	   data	    bss	    dec	    hex	filename
   8304	   1084	    128	   9516	   252c	drivers/nfc/s3fwrn5/firmware.o

After:
   text	   data	    bss	    dec	    hex	filename
   7894	   1180	    128	   9202	   23f2	drivers/nfc/s3fwrn5/firmware.o

Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
2017-11-06 01:05:06 +01:00
..
Kconfig nfc: s3fwrn5: Make NFC_S3FWRN5 select CRYPTO 2015-10-07 01:41:45 +02:00
Makefile
core.c nfc: s3fwrn5: constify s3fwrn5_phy_ops structures 2015-12-20 18:32:39 +01:00
firmware.c nfc: s3fwrn5: make array match static const 2017-11-06 01:05:06 +01:00
firmware.h
i2c.c nfc: s3fwrn5: constify i2c_device_id 2017-11-06 00:56:56 +01:00
nci.c NFC: nci: rename nci_prop_ops to nci_driver_ops 2015-10-25 20:28:59 +01:00
nci.h NFC: nci: rename nci_prop_ops to nci_driver_ops 2015-10-25 20:28:59 +01:00
s3fwrn5.h nfc: s3fwrn5: constify s3fwrn5_phy_ops structures 2015-12-20 18:32:39 +01:00