diff options
author | Adrian Bunk <bunk@kernel.org> | 2008-06-05 14:42:40 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-07-18 00:38:08 -0400 |
commit | 908f5162ca59ed46a928e8416db159777d432e77 (patch) | |
tree | 7d7aa8d1d645a28d3e3204b6549766f429fe90e6 /arch/sparc64/kernel/pci_sun4v.c | |
parent | 50215d6511265d46ba14038640b16c5dd7731ff4 (diff) |
sparc64/kernel/: make code static
This patch makes the following needlessly global code static:
- central.c: struct central_bus
- central.c: struct fhc_list
- central.c: apply_fhc_ranges()
- central.c: apply_central_ranges()
- ds.c: struct ds_states_template[]
- pci_msi.c: sparc64_setup_msi_irq()
- pci_msi.c: sparc64_teardown_msi_irq()
- pci_sun4v.c: struct sun4v_dma_ops
- sys_sparc32.c: cp_compat_stat64()
Signed-off-by: Adrian Bunk <bunk@kernel.org>
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.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/sparc64/kernel/pci_sun4v.c b/arch/sparc64/kernel/pci_sun4v.c index e2bb9790039c..a104c80d319d 100644 --- a/arch/sparc64/kernel/pci_sun4v.c +++ b/arch/sparc64/kernel/pci_sun4v.c | |||
@@ -531,7 +531,7 @@ static void dma_4v_sync_sg_for_cpu(struct device *dev, | |||
531 | /* Nothing to do... */ | 531 | /* Nothing to do... */ |
532 | } | 532 | } |
533 | 533 | ||
534 | const struct dma_ops sun4v_dma_ops = { | 534 | static const struct dma_ops sun4v_dma_ops = { |
535 | .alloc_coherent = dma_4v_alloc_coherent, | 535 | .alloc_coherent = dma_4v_alloc_coherent, |
536 | .free_coherent = dma_4v_free_coherent, | 536 | .free_coherent = dma_4v_free_coherent, |
537 | .map_single = dma_4v_map_single, | 537 | .map_single = dma_4v_map_single, |