Messages in this thread | | | Date | Tue, 26 May 2020 09:56:30 +0200 | From | Maxime Ripard <> | Subject | Re: [PATCH 2/2] iommu/sun50i: Constify sun50i_iommu_ops |
| |
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: > text data bss dec hex filename > 14358 2501 64 16923 421b drivers/iommu/sun50i-iommu.o > > After: > text data bss dec hex filename > 14726 2117 64 16907 420b drivers/iommu/sun50i-iommu.o > > Signed-off-by: Rikard Falkeborn <rikard.falkeborn@gmail.com>
Acked-by: Maxime Ripard <mripard@kernel.org>
Thanks! Maxime
| |