aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm64/include/asm/cpu_ops.h
diff options
context:
space:
mode:
authorGeoff Levand <geoff@infradead.org>2014-08-22 20:49:16 +0100
committerCatalin Marinas <catalin.marinas@arm.com>2014-10-03 14:51:02 +0100
commit0a6479b0ffad8dd236915e271faaf2cbb4cac287 (patch)
treec3acb5b46db9ec0fc5555c13510acb784f96fa73 /arch/arm64/include/asm/cpu_ops.h
parentARM64: make of_device_ids const (diff)
downloadlinux-dev-0a6479b0ffad8dd236915e271faaf2cbb4cac287.tar.xz
linux-dev-0a6479b0ffad8dd236915e271faaf2cbb4cac287.zip
arm64: Remove unneeded extern keyword
Function prototypes are never definitions, so remove any 'extern' keyword from the funcion prototypes in cpu_ops.h. Fixes warnings emited by checkpatch. Signed-off-by: Geoff Levand <geoff@infradead.org> Acked-by: Mark Rutland <mark.rutland@arm.com> Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Diffstat (limited to 'arch/arm64/include/asm/cpu_ops.h')
-rw-r--r--arch/arm64/include/asm/cpu_ops.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm64/include/asm/cpu_ops.h b/arch/arm64/include/asm/cpu_ops.h
index 47dfa31ad71a..6f8e2ef9094a 100644
--- a/arch/arm64/include/asm/cpu_ops.h
+++ b/arch/arm64/include/asm/cpu_ops.h
@@ -64,7 +64,7 @@ struct cpu_operations {
};
extern const struct cpu_operations *cpu_ops[NR_CPUS];
-extern int __init cpu_read_ops(struct device_node *dn, int cpu);
-extern void __init cpu_read_bootcpu_ops(void);
+int __init cpu_read_ops(struct device_node *dn, int cpu);
+void __init cpu_read_bootcpu_ops(void);
#endif /* ifndef __ASM_CPU_OPS_H */