Re: [PATCH 2/2] iommu/sun50i: Constify sun50i_iommu_ops

2020-05-26 Thread Maxime Ripard
On Mon, May 25, 2020 at 11:49:58PM +0200, Rikard Falkeborn wrote: > The struct sun50i_iommu_ops 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 > 143582501 64 16923421b

[PATCH 2/2] iommu/sun50i: Constify sun50i_iommu_ops

2020-05-25 Thread Rikard Falkeborn
The struct sun50i_iommu_ops 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 143582501 64 16923421b drivers/iommu/sun50i-iommu.o After: textdata bss dec hex