summaryrefslogtreecommitdiffstats
path: root/arch/arm64/kernel/cpufeature.c
diff options
context:
space:
mode:
authorWill Deacon <will.deacon@arm.com>2015-10-27 12:05:54 +0000
committerCatalin Marinas <catalin.marinas@arm.com>2015-10-28 18:31:49 +0000
commitfde4a59fc1c55709b96d0f07110895f20015b6cc (patch)
treeafdec40c238bb2a9d91e0a3d0d2c30e09626a243 /arch/arm64/kernel/cpufeature.c
parent6bccb4955c1cc6335d76a9cad87b97c7b1457b8d (diff)
downloadlinux-fde4a59fc1c55709b96d0f07110895f20015b6cc.tar.gz
linux-fde4a59fc1c55709b96d0f07110895f20015b6cc.tar.bz2
linux-fde4a59fc1c55709b96d0f07110895f20015b6cc.zip
arm64: cpufeature: declare enable_cpu_capabilities as static
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>
Diffstat (limited to 'arch/arm64/kernel/cpufeature.c')
-rw-r--r--arch/arm64/kernel/cpufeature.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm64/kernel/cpufeature.c b/arch/arm64/kernel/cpufeature.c
index d0d607452e1d..504526fa8129 100644
--- 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;