diff options
author | Colin Ian King <colin.king@canonical.com> | 2017-08-31 14:24:49 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-09-01 18:21:09 -0700 |
commit | d05071ed4a8a0acbc918bae76571d917ab05119b (patch) | |
tree | fc6f9977c31cec02d3a93cc9e5b77f3ab9035daa /drivers/net/ethernet/freescale/Kconfig | |
parent | 6026e043d09012c6269f9a96a808d52d9c498224 (diff) | |
download | talos-obmc-linux-d05071ed4a8a0acbc918bae76571d917ab05119b.tar.gz talos-obmc-linux-d05071ed4a8a0acbc918bae76571d917ab05119b.zip |
fsl/fman: make arrays port_ids static, reduces object code size
Don't populate the arrays port_ids on the stack, instead make them static.
Makes the object code smaller by over 700 bytes:
Before:
text data bss dec hex filename
28785 5832 192 34809 87f9 fman.o
After:
text data bss dec hex filename
27921 5992 192 34105 8539 fman.o
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/freescale/Kconfig')
0 files changed, 0 insertions, 0 deletions