summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorTobias Klauser <tklauser@distanz.ch>2009-02-09 20:35:39 (GMT)
committerRussell King <rmk+kernel@arm.linux.org.uk>2009-02-10 09:59:19 (GMT)
commite0fc4f97ab6b11594d0b0658ef6cf02bd68f3b4e (patch)
treec1e422735cbe42c268e7198a626738035b0e70fe /arch
parent286ce0ac1c524849026f7472b3921b9acf557510 (diff)
downloadlinux-e0fc4f97ab6b11594d0b0658ef6cf02bd68f3b4e.tar.xz
[ARM] Storage class should be before const qualifier
The C99 specification states in section 6.11.5: The placement of a storage-class specifier other than at the beginning of the declaration specifiers in a declaration is an obsolescent feature. Signed-off-by: Tobias Klauser <tklauser@distanz.ch> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/kernel/machine_kexec.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/kernel/machine_kexec.c b/arch/arm/kernel/machine_kexec.c
index 440dc62..598ca61 100644
--- a/arch/arm/kernel/machine_kexec.c
+++ b/arch/arm/kernel/machine_kexec.c
@@ -13,8 +13,8 @@
#include <asm/cacheflush.h>
#include <asm/mach-types.h>
-const extern unsigned char relocate_new_kernel[];
-const extern unsigned int relocate_new_kernel_size;
+extern const unsigned char relocate_new_kernel[];
+extern const unsigned int relocate_new_kernel_size;
extern void setup_mm_for_reboot(char mode);