summaryrefslogtreecommitdiff
path: root/drivers/xen/swiotlb-xen.c
diff options
context:
space:
mode:
authorRikard Falkeborn <rikard.falkeborn@gmail.com>2020-05-09 15:47:55 +0200
committerBoris Ostrovsky <boris.ostrovsky@oracle.com>2020-05-21 13:00:39 -0500
commitc17db64044e34ae6c2df56cc4837787f9d48edd5 (patch)
treecfc91f12e702c51982e1bb47ec5e7c3d308a1a63 /drivers/xen/swiotlb-xen.c
parentc8d70a29d6bbc956013f3401f92a4431a9385a3c (diff)
xen-platform: Constify dev_pm_ops
dev_pm_ops is never modified, so mark it const to allow the compiler to put it in read-only memory. Before: text data bss dec hex filename 2457 1668 256 4381 111d drivers/xen/platform-pci.o After: text data bss dec hex filename 2681 1444 256 4381 111d drivers/xen/platform-pci.o Signed-off-by: Rikard Falkeborn <rikard.falkeborn@gmail.com> Link: https://lore.kernel.org/r/20200509134755.15038-1-rikard.falkeborn@gmail.com Reviewed-by: Juergen Gross <jgross@suse.com> Signed-off-by: Boris Ostrovsky <boris.ostrovsky@oracle.com>
Diffstat (limited to 'drivers/xen/swiotlb-xen.c')
0 files changed, 0 insertions, 0 deletions