Re: [PATCH 2/5] hwrng: nomadik - Constify nmk_rng_ids[]

2020-07-02 Thread Arnd Bergmann
On Wed, Jul 1, 2020 at 11:48 PM Rikard Falkeborn wrote: > > nmk_rng_ids[] is not modified and can be made const to allow the > compiler to put it in read-only memory. > > Before: >textdata bss dec hex filename > 652 216 4 872 368 drivers/char/hw_random/nom

[PATCH 2/5] hwrng: nomadik - Constify nmk_rng_ids[]

2020-07-01 Thread Rikard Falkeborn
nmk_rng_ids[] is not modified and can be made const to allow the compiler to put it in read-only memory. Before: textdata bss dec hex filename 652 216 4 872 368 drivers/char/hw_random/nomadik-rng.o After: textdata bss dec hex filename