diff options
author | Rikard Falkeborn <rikard.falkeborn@gmail.com> | 2020-05-09 00:35:00 +0200 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2020-05-15 16:15:00 +1000 |
commit | 2c2207aee52b6c6627f91aa2c7f5316c4087363a (patch) | |
tree | 5f74c00a22bf157899f9b14edbdc0bfd80103743 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 1036bb50c80561bab85a0dc57e87e6c7645c97b7 (diff) |
crypto: hisilicon/hpre - constify struct debugfs_reg32
hpre_cluster_dfx_regs and hpre_com_dfx_regs are never changed and can
therefore be made const.
This allows the compiler to put it in the text section instead of the
data section.
Before:
text data bss dec hex filename
16455 6288 480 23223 5ab7 drivers/crypto/hisilicon/hpre/hpre_main.o
After:
text data bss dec hex filename
16839 5904 480 23223 5ab7 drivers/crypto/hisilicon/hpre/hpre_main.o
Signed-off-by: Rikard Falkeborn <rikard.falkeborn@gmail.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions