summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-ux500
diff options
context:
space:
mode:
authorTobias Klauser <tklauser@distanz.ch>2014-07-01 10:47:48 +0200
committerLinus Walleij <linus.walleij@linaro.org>2014-07-10 10:37:43 +0200
commit922468cdf1a704c0c13e023d634ff802edc37910 (patch)
treeff4d98c9eff528362c267d5e41d9783a6c199c97 /arch/arm/mach-ux500
parentARM: ux500: Staticize ab8505_regulators (diff)
downloadlinux-922468cdf1a704c0c13e023d634ff802edc37910.tar.xz
linux-922468cdf1a704c0c13e023d634ff802edc37910.zip
ARM: ux500: 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: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'arch/arm/mach-ux500')
-rw-r--r--arch/arm/mach-ux500/timer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-ux500/timer.c b/arch/arm/mach-ux500/timer.c
index 87efda0aa348..ff28d8ad1ed7 100644
--- a/arch/arm/mach-ux500/timer.c
+++ b/arch/arm/mach-ux500/timer.c
@@ -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", },
{ },
};