diff options
| author | Rikard Falkeborn <rikard.falkeborn@gmail.com> | 2020-07-01 22:09:47 +0200 |
|---|---|---|
| committer | Herbert Xu <herbert@gondor.apana.org.au> | 2020-07-09 18:25:21 +1000 |
| commit | b242973f0fae47563917c7bd2ac6bf2b72cdafe8 (patch) | |
| tree | 1220449d7fba028056a70c14d51286e9af57d112 /net/lapb/lapb_in.c | |
| parent | d4f6d923238dbdb69b8525e043fedef2670d4f2c (diff) | |
hwrng: nomadik - Constify nmk_rng_ids[]
nmk_rng_ids[] is not modified and can be made const to allow the
compiler to put it in read-only memory.
Before:
text data bss dec hex filename
652 216 4 872 368 drivers/char/hw_random/nomadik-rng.o
After:
text data bss dec hex filename
676 192 4 872 368 drivers/char/hw_random/nomadik-rng.o
Signed-off-by: Rikard Falkeborn <rikard.falkeborn@gmail.com>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'net/lapb/lapb_in.c')
0 files changed, 0 insertions, 0 deletions
