diff options
author | Rikard Falkeborn <rikard.falkeborn@gmail.com> | 2020-07-01 22:09:46 +0200 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2020-07-09 10:25:21 +0200 |
commit | d4f6d923238dbdb69b8525e043fedef2670d4f2c (patch) | |
tree | d17e965f7e66a5ed2fc78df06cec29952b7db883 /drivers/ata/sata_rcar.c | |
parent | hwrng: ba431 - HW_RANDOM_BA431 should not default to y (diff) | |
download | linux-d4f6d923238dbdb69b8525e043fedef2670d4f2c.tar.xz linux-d4f6d923238dbdb69b8525e043fedef2670d4f2c.zip |
hwrng: bcm2835 - Constify bcm2835_rng_devtype[]
bcm2835_rng_devtype[] 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
2392 176 0 2568 a08 drivers/char/hw_random/bcm2835-rng.o
After:
text data bss dec hex filename
2464 104 0 2568 a08 drivers/char/hw_random/bcm2835-rng.o
Signed-off-by: Rikard Falkeborn <rikard.falkeborn@gmail.com>
Acked-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/ata/sata_rcar.c')
0 files changed, 0 insertions, 0 deletions