projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8211237
)
ARM: io.c: clean up EXPORT_SYMBOL()s
author
Russell King
<rmk+kernel@arm.linux.org.uk>
Tue, 28 Oct 2014 13:31:04 +0000
(13:31 +0000)
committer
Russell King
<rmk+kernel@arm.linux.org.uk>
Fri, 21 Nov 2014 15:25:02 +0000
(15:25 +0000)
Place EXPORT_SYMBOL()s after the function definition.
Tested-by: Felipe Balbi <balbi@ti.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/kernel/io.c
patch
|
blob
|
blame
|
history
diff --git
a/arch/arm/kernel/io.c
b/arch/arm/kernel/io.c
index 9203cf883330a3c64460f07d572994f5f8263a83..eedefe0500225a4d4744bf45e3b0c63f54419910 100644
(file)
--- a/
arch/arm/kernel/io.c
+++ b/
arch/arm/kernel/io.c
@@
-51,6
+51,7
@@
void _memcpy_fromio(void *to, const volatile void __iomem *from, size_t count)
from++;
}
}
+EXPORT_SYMBOL(_memcpy_fromio);
/*
* Copy data from "real" memory space to IO memory space.
@@
-66,6
+67,7
@@
void _memcpy_toio(volatile void __iomem *to, const void *from, size_t count)
to++;
}
}
+EXPORT_SYMBOL(_memcpy_toio);
/*
* "memset" on IO memory space.
@@
-79,7
+81,4
@@
void _memset_io(volatile void __iomem *dst, int c, size_t count)
dst++;
}
}
-
-EXPORT_SYMBOL(_memcpy_fromio);
-EXPORT_SYMBOL(_memcpy_toio);
EXPORT_SYMBOL(_memset_io);