diff options
author | David S. Miller <davem@sunset.davemloft.net> | 2007-03-09 19:58:43 -0500 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2007-04-26 04:55:18 -0400 |
commit | c6e87566ea080bbbe926c0e429fed48e6f680d93 (patch) | |
tree | 36d13a5bdef56329cd5be6eef1ada88fb7d8a802 /arch/sparc64/kernel/pci.c | |
parent | 0bba2dd823fd995ed805ae5cbd5a1c1381257a12 (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.c')
-rw-r--r-- | arch/sparc64/kernel/pci.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/sparc64/kernel/pci.c b/arch/sparc64/kernel/pci.c index a7809a00324c..914a216da339 100644 --- a/arch/sparc64/kernel/pci.c +++ b/arch/sparc64/kernel/pci.c | |||
@@ -282,10 +282,10 @@ int __init pcic_present(void) | |||
282 | return pci_controller_scan(pci_is_controller); | 282 | return pci_controller_scan(pci_is_controller); |
283 | } | 283 | } |
284 | 284 | ||
285 | struct pci_iommu_ops *pci_iommu_ops; | 285 | const struct pci_iommu_ops *pci_iommu_ops; |
286 | EXPORT_SYMBOL(pci_iommu_ops); | 286 | EXPORT_SYMBOL(pci_iommu_ops); |
287 | 287 | ||
288 | extern struct pci_iommu_ops pci_sun4u_iommu_ops, | 288 | extern const struct pci_iommu_ops pci_sun4u_iommu_ops, |
289 | pci_sun4v_iommu_ops; | 289 | pci_sun4v_iommu_ops; |
290 | 290 | ||
291 | /* Find each controller in the system, attach and initialize | 291 | /* Find each controller in the system, attach and initialize |