mirror of
https://github.com/adulau/aha.git
synced 2024-12-27 19:26:25 +00:00
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>
This commit is contained in:
parent
fe0bdec68b
commit
8f47cb87eb
2 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
};
|
||||
|
|
|
@ -275,7 +275,7 @@ handle_store_error:
|
|||
|
||||
|
||||
/* Returns 0 for success, otherwise, returns number of bytes not transferred. */
|
||||
unsigned long pa_memcpy(void *dstp, const void *srcp, unsigned long len)
|
||||
static unsigned long pa_memcpy(void *dstp, const void *srcp, unsigned long len)
|
||||
{
|
||||
register unsigned long src, dst, t1, t2, t3;
|
||||
register unsigned char *pcs, *pcd;
|
||||
|
|
Loading…
Reference in a new issue