aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/include/linux/iommu.h
diff options
context:
space:
mode:
authorRikard Falkeborn <rikard.falkeborn@gmail.com>2020-05-25 23:49:58 +0200
committerJoerg Roedel <jroedel@suse.de>2020-05-27 14:39:00 +0200
commit79074f61c022e822451f0e7ac0c8c6e213f75f18 (patch)
tree88a3847abb88095a6014075b78aa9497b5445752 /include/linux/iommu.h
parentiommu/sun50i: Fix return value check in sun50i_iommu_probe() (diff)
downloadwireguard-linux-79074f61c022e822451f0e7ac0c8c6e213f75f18.tar.xz
wireguard-linux-79074f61c022e822451f0e7ac0c8c6e213f75f18.zip
iommu/sun50i: Constify sun50i_iommu_ops
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> Link: https://lore.kernel.org/r/20200525214958.30015-3-rikard.falkeborn@gmail.com Signed-off-by: Joerg Roedel <jroedel@suse.de>
Diffstat (limited to 'include/linux/iommu.h')
0 files changed, 0 insertions, 0 deletions