From: Tobias Klauser Date: Mon, 9 Feb 2009 20:35:39 +0000 (+0100) Subject: [ARM] Storage class should be before const qualifier X-Git-Tag: v2.6.29-rc5~38^2~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=e0fc4f97ab6b11594d0b0658ef6cf02bd68f3b4e;p=profile%2Fivi%2Fkernel-adaptation-intel-automotive.git [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 Signed-off-by: Russell King --- 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 #include -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);