From: Tobias Klauser Date: Mon, 9 Feb 2009 20:35:39 +0000 (+0100) Subject: [ARM] Storage class should be before const qualifier X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=e0fc4f97ab6b11594d0b0658ef6cf02bd68f3b4e;p=GitHub%2Fexynos8895%2Fandroid_kernel_samsung_universal8895.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 440dc62cdc3a..598ca61e7bca 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);