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/lasi.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/lasi.c')
-rw-r--r-- | drivers/parisc/lasi.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/drivers/parisc/lasi.c b/drivers/parisc/lasi.c index bee510098ce8..e65727ca9fc0 100644 --- a/drivers/parisc/lasi.c +++ b/drivers/parisc/lasi.c | |||
@@ -107,7 +107,7 @@ lasi_init_irq(struct gsc_asic *this_lasi) | |||
107 | 107 | ||
108 | #else | 108 | #else |
109 | 109 | ||
110 | void __init lasi_led_init(unsigned long lasi_hpa) | 110 | static void __init lasi_led_init(unsigned long lasi_hpa) |
111 | { | 111 | { |
112 | unsigned long datareg; | 112 | unsigned long datareg; |
113 | 113 | ||
@@ -163,8 +163,7 @@ static void lasi_power_off(void) | |||
163 | gsc_writel(0x02, datareg); | 163 | gsc_writel(0x02, datareg); |
164 | } | 164 | } |
165 | 165 | ||
166 | int __init | 166 | static int __init lasi_init_chip(struct parisc_device *dev) |
167 | lasi_init_chip(struct parisc_device *dev) | ||
168 | { | 167 | { |
169 | extern void (*chassis_power_off)(void); | 168 | extern void (*chassis_power_off)(void); |
170 | struct gsc_asic *lasi; | 169 | struct gsc_asic *lasi; |