diff options
author | Adrian Bunk <bunk@kernel.org> | 2008-12-02 03:28:15 +0000 |
---|---|---|
committer | Kyle McMartin <kyle@mcmartin.ca> | 2009-01-05 18:15:24 +0000 |
commit | 8f47cb87eb603fac557a8408c23701dffad07581 (patch) | |
tree | dfa424ba9e4281f4d9a73eeaa5516b03dc566fe3 /arch/parisc/lib/iomap.c | |
parent | fe0bdec68b77020281dc814805edfe594ae89e0f (diff) | |
download | linux-8f47cb87eb603fac557a8408c23701dffad07581.tar.gz linux-8f47cb87eb603fac557a8408c23701dffad07581.tar.bz2 linux-8f47cb87eb603fac557a8408c23701dffad07581.zip |
parisc: lib/: make code static
Make the following needlessly global code static:
- iomap.c: struct iomap_ops[]
- memcpy.c: pa_memcpy()
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 'arch/parisc/lib/iomap.c')
-rw-r--r-- | arch/parisc/lib/iomap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/parisc/lib/iomap.c b/arch/parisc/lib/iomap.c index 9abed07db7fc..5069e8b2ca71 100644 --- a/arch/parisc/lib/iomap.c +++ b/arch/parisc/lib/iomap.c @@ -261,7 +261,7 @@ static const struct iomap_ops iomem_ops = { iomem_write32r, }; -const struct iomap_ops *iomap_ops[8] = { +static const struct iomap_ops *iomap_ops[8] = { [0] = &ioport_ops, [7] = &iomem_ops }; |