Re: [PATCH 2/5] sunxi: H616: dram: const-ify DRAM function parameters

2023-06-09 Thread Jernej Škrabec
Dne sreda, 07. junij 2023 ob 02:07:42 CEST je Andre Przywara napisal(a): > There are quite some functions in the Allwinner H616 DRAM "driver", some > of them actually change the parameters in the structure passed to them, > but many are actually not. > To increase the optimisation potential for the

[PATCH 2/5] sunxi: H616: dram: const-ify DRAM function parameters

2023-06-06 Thread Andre Przywara
There are quite some functions in the Allwinner H616 DRAM "driver", some of them actually change the parameters in the structure passed to them, but many are actually not. To increase the optimisation potential for the code, mark those functions that just read members of the passed dram_para struct