aboutsummaryrefslogtreecommitdiffstats
path: root/arch/sparc64/kernel/pci_iommu.c
diff options
context:
space:
mode:
authorDavid S. Miller <davem@sunset.davemloft.net>2007-03-09 19:58:43 -0500
committerDavid S. Miller <davem@sunset.davemloft.net>2007-04-26 04:55:18 -0400
commitc6e87566ea080bbbe926c0e429fed48e6f680d93 (patch)
tree36d13a5bdef56329cd5be6eef1ada88fb7d8a802 /arch/sparc64/kernel/pci_iommu.c
parent0bba2dd823fd995ed805ae5cbd5a1c1381257a12 (diff)
[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_iommu.c')
-rw-r--r--arch/sparc64/kernel/pci_iommu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/sparc64/kernel/pci_iommu.c b/arch/sparc64/kernel/pci_iommu.c
index 554daabb381e..aefdcc51045b 100644
--- a/arch/sparc64/kernel/pci_iommu.c
+++ b/arch/sparc64/kernel/pci_iommu.c
@@ -759,7 +759,7 @@ static void pci_4u_dma_sync_sg_for_cpu(struct pci_dev *pdev, struct scatterlist
759 spin_unlock_irqrestore(&iommu->lock, flags); 759 spin_unlock_irqrestore(&iommu->lock, flags);
760} 760}
761 761
762struct pci_iommu_ops pci_sun4u_iommu_ops = { 762const struct pci_iommu_ops pci_sun4u_iommu_ops = {
763 .alloc_consistent = pci_4u_alloc_consistent, 763 .alloc_consistent = pci_4u_alloc_consistent,
764 .free_consistent = pci_4u_free_consistent, 764 .free_consistent = pci_4u_free_consistent,
765 .map_single = pci_4u_map_single, 765 .map_single = pci_4u_map_single,