diff options
author | Adrian Bunk <bunk@kernel.org> | 2008-12-01 22:28:16 -0500 |
---|---|---|
committer | Kyle McMartin <kyle@mcmartin.ca> | 2009-01-05 13:15:24 -0500 |
commit | df8e5bc6b7b61c8b2aeaf58b6afd762d20a651dd (patch) | |
tree | f0a42305bd2bf43e3e78d67fc34680f6d3f850fa /drivers/parisc/dino.c | |
parent | 8f47cb87eb603fac557a8408c23701dffad07581 (diff) |
parisc: drivers/parisc/: make code static
Make the following needlessly global code static:
- asp.c: asp_init_chip()
- ccio-dma.c: ccio_io_pdir_entry()
- dino.c: struct dino_port_ops
- dino.c: struct dino_bios_ops
- hppb.c: struct hppb_card_head
- lasi.c: lasi_led_init()
- lasi.c: lasi_init_chip()
- lba_pci.c: struct lba_bios_ops
- sba_iommu.c: sba_io_pdir_entry()
- sba_iommu.c: sba_driver_callback()
- sba_iommu.c: sba_driver_callback()
- wax.c: wax_init_chip()
Signed-off-by: Adrian Bunk <bunk@kernel.org>
Cc: Matthew Wilcox <matthew@wil.cx>
Cc: Grant Grundler <grundler@parisc-linux.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Kyle McMartin <kyle@mcmartin.ca>
Diffstat (limited to 'drivers/parisc/dino.c')
-rw-r--r-- | drivers/parisc/dino.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/parisc/dino.c b/drivers/parisc/dino.c index 3bc54b30c3a1..c5a44ff1f32f 100644 --- a/drivers/parisc/dino.c +++ b/drivers/parisc/dino.c | |||
@@ -287,7 +287,7 @@ DINO_PORT_OUT(b, 8, 3) | |||
287 | DINO_PORT_OUT(w, 16, 2) | 287 | DINO_PORT_OUT(w, 16, 2) |
288 | DINO_PORT_OUT(l, 32, 0) | 288 | DINO_PORT_OUT(l, 32, 0) |
289 | 289 | ||
290 | struct pci_port_ops dino_port_ops = { | 290 | static struct pci_port_ops dino_port_ops = { |
291 | .inb = dino_in8, | 291 | .inb = dino_in8, |
292 | .inw = dino_in16, | 292 | .inw = dino_in16, |
293 | .inl = dino_in32, | 293 | .inl = dino_in32, |
@@ -690,7 +690,7 @@ dino_fixup_bus(struct pci_bus *bus) | |||
690 | } | 690 | } |
691 | 691 | ||
692 | 692 | ||
693 | struct pci_bios_ops dino_bios_ops = { | 693 | static struct pci_bios_ops dino_bios_ops = { |
694 | .init = dino_bios_init, | 694 | .init = dino_bios_init, |
695 | .fixup_bus = dino_fixup_bus | 695 | .fixup_bus = dino_fixup_bus |
696 | }; | 696 | }; |