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/sba_iommu.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/sba_iommu.c')
-rw-r--r-- | drivers/parisc/sba_iommu.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/drivers/parisc/sba_iommu.c b/drivers/parisc/sba_iommu.c index bc73b96346ff..34763e27a9c1 100644 --- a/drivers/parisc/sba_iommu.c +++ b/drivers/parisc/sba_iommu.c | |||
@@ -561,7 +561,7 @@ typedef unsigned long space_t; | |||
561 | * IOMMU uses little endian for the pdir. | 561 | * IOMMU uses little endian for the pdir. |
562 | */ | 562 | */ |
563 | 563 | ||
564 | void SBA_INLINE | 564 | static void SBA_INLINE |
565 | sba_io_pdir_entry(u64 *pdir_ptr, space_t sid, unsigned long vba, | 565 | sba_io_pdir_entry(u64 *pdir_ptr, space_t sid, unsigned long vba, |
566 | unsigned long hint) | 566 | unsigned long hint) |
567 | { | 567 | { |
@@ -1874,7 +1874,7 @@ static struct parisc_device_id sba_tbl[] = { | |||
1874 | { 0, } | 1874 | { 0, } |
1875 | }; | 1875 | }; |
1876 | 1876 | ||
1877 | int sba_driver_callback(struct parisc_device *); | 1877 | static int sba_driver_callback(struct parisc_device *); |
1878 | 1878 | ||
1879 | static struct parisc_driver sba_driver = { | 1879 | static struct parisc_driver sba_driver = { |
1880 | .name = MODULE_NAME, | 1880 | .name = MODULE_NAME, |
@@ -1887,8 +1887,7 @@ static struct parisc_driver sba_driver = { | |||
1887 | ** If so, initialize the chip and tell other partners in crime they | 1887 | ** If so, initialize the chip and tell other partners in crime they |
1888 | ** have work to do. | 1888 | ** have work to do. |
1889 | */ | 1889 | */ |
1890 | int | 1890 | static int sba_driver_callback(struct parisc_device *dev) |
1891 | sba_driver_callback(struct parisc_device *dev) | ||
1892 | { | 1891 | { |
1893 | struct sba_device *sba_dev; | 1892 | struct sba_device *sba_dev; |
1894 | u32 func_class; | 1893 | u32 func_class; |