projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6bccb49
)
arm64: cpufeature: declare enable_cpu_capabilities as static
author
Will Deacon
<will.deacon@arm.com>
Tue, 27 Oct 2015 12:05:54 +0000
(12:05 +0000)
committer
Catalin Marinas
<catalin.marinas@arm.com>
Wed, 28 Oct 2015 18:31:49 +0000
(18:31 +0000)
enable_cpu_capabilities is only called from within cpufeature.c, so it
can be declared static.
Signed-off-by: Will Deacon <will.deacon@arm.com>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
arch/arm64/kernel/cpufeature.c
patch
|
blob
|
history
diff --git
a/arch/arm64/kernel/cpufeature.c
b/arch/arm64/kernel/cpufeature.c
index d0d607452e1d8cbb684c74289ba4f60f76df666d..504526fa81299eeb3a7c127e73a54c1a85a7383a 100644
(file)
--- a/
arch/arm64/kernel/cpufeature.c
+++ b/
arch/arm64/kernel/cpufeature.c
@@
-732,7
+732,7
@@
void update_cpu_capabilities(const struct arm64_cpu_capabilities *caps,
* Run through the enabled capabilities and enable() it on all active
* CPUs
*/
-void enable_cpu_capabilities(const struct arm64_cpu_capabilities *caps)
+
static
void enable_cpu_capabilities(const struct arm64_cpu_capabilities *caps)
{
int i;