ARM: ux500: storage class should be before const qualifier
authorTobias Klauser <tklauser@distanz.ch>
Tue, 1 Jul 2014 08:47:48 +0000 (10:47 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Thu, 10 Jul 2014 08:37:43 +0000 (10:37 +0200)
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: Linus Walleij <linus.walleij@linaro.org>
arch/arm/mach-ux500/timer.c

index 87efda0..ff28d8a 100644 (file)
@@ -16,7 +16,7 @@
 #include "db8500-regs.h"
 #include "id.h"
 
-const static struct of_device_id prcmu_timer_of_match[] __initconst = {
+static const struct of_device_id prcmu_timer_of_match[] __initconst = {
        { .compatible = "stericsson,db8500-prcmu-timer-4", },
        { },
 };