summaryrefslogtreecommitdiffstats
path: root/arch/sparc64/kernel/pci_sun4v.c
diff options
context:
space:
mode:
authorDavid S. Miller <davem@sunset.davemloft.net>2007-03-10 01:58:43 +0100
committerDavid S. Miller <davem@sunset.davemloft.net>2007-04-26 10:55:18 +0200
commitc6e87566ea080bbbe926c0e429fed48e6f680d93 (patch)
tree36d13a5bdef56329cd5be6eef1ada88fb7d8a802 /arch/sparc64/kernel/pci_sun4v.c
parent[SPARC64]: Kill pbm->pci_first_slot. (diff)
downloadlinux-c6e87566ea080bbbe926c0e429fed48e6f680d93.tar.xz
linux-c6e87566ea080bbbe926c0e429fed48e6f680d93.zip
[SPARC64]: Const'ify pci_iommu_ops.
Based upon a similar patch for x86_64 written by Stephen Hemminger. Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/sparc64/kernel/pci_sun4v.c')
-rw-r--r--arch/sparc64/kernel/pci_sun4v.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/sparc64/kernel/pci_sun4v.c b/arch/sparc64/kernel/pci_sun4v.c
index c6feae6e9690..a8c12c1e8039 100644
--- a/arch/sparc64/kernel/pci_sun4v.c
+++ b/arch/sparc64/kernel/pci_sun4v.c
@@ -583,7 +583,7 @@ static void pci_4v_dma_sync_sg_for_cpu(struct pci_dev *pdev, struct scatterlist
/* Nothing to do... */
}
-struct pci_iommu_ops pci_sun4v_iommu_ops = {
+const struct pci_iommu_ops pci_sun4v_iommu_ops = {
.alloc_consistent = pci_4v_alloc_consistent,
.free_consistent = pci_4v_free_consistent,
.map_single = pci_4v_map_single,