linux_dsm_epyc7002/drivers/crypto/hisilicon/hpre
Rikard Falkeborn 2c2207aee5 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>
2020-05-15 16:15:00 +10:00
..
hpre_crypto.c crypto: hisilicon/hpre - Optimize finding hpre device process 2020-03-20 14:36:50 +11:00
hpre_main.c crypto: hisilicon/hpre - constify struct debugfs_reg32 2020-05-15 16:15:00 +10:00
hpre.h crypto: hisilicon - put vfs_num into struct hisi_qm 2020-04-16 16:49:20 +10:00
Makefile crypto: hisilicon - add HiSilicon HPRE accelerator 2019-10-10 23:36:31 +11:00