aboutsummaryrefslogtreecommitdiff
path: root/arch/arm/include
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.masahiro@socionext.com>2015-08-26 07:49:11 +0100
committerRussell King <rmk+kernel@arm.linux.org.uk>2015-09-22 08:13:57 +0100
commit4caa9dda388f34f957a9eb52b9f5ef1a8c975c7b (patch)
treea08d2f93762743310dfd326cab1f0a1145af4827 /arch/arm/include
parentbbeb9209515989ff47802d4e5d5702178c8e42c4 (diff)
downloadlinux-linaro-stable-4caa9dda388f34f957a9eb52b9f5ef1a8c975c7b.tar.gz
ARM: 8424/1: add const qualifier to the argument of smp_set_ops()
This function just copies '*ops' to 'smp_ops', so the given structure '*ops' is not modified at all. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> Acked-by: Stephen Boyd <sboyd@codeaurora.org> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/include')
-rw-r--r--arch/arm/include/asm/smp.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/include/asm/smp.h b/arch/arm/include/asm/smp.h
index ef356659b4f4..2f8bd44e65c4 100644
--- a/arch/arm/include/asm/smp.h
+++ b/arch/arm/include/asm/smp.h
@@ -122,6 +122,6 @@ struct of_cpu_method {
/*
* set platform specific SMP operations
*/
-extern void smp_set_ops(struct smp_operations *);
+extern void smp_set_ops(const struct smp_operations *);
#endif /* ifndef __ASM_ARM_SMP_H */