* [PATCH 2/4] ARM: ux500: storage class should be before const qualifier
@ 2014-03-05 16:34 Tobias Klauser
2014-03-12 13:38 ` Linus Walleij
0 siblings, 1 reply; 2+ messages in thread
From: Tobias Klauser @ 2014-03-05 16:34 UTC (permalink / raw)
To: linux-arm-kernel
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>
---
arch/arm/mach-ux500/timer.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm/mach-ux500/timer.c b/arch/arm/mach-ux500/timer.c
index 87efda0..ff28d8a 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", },
{ },
};
--
1.7.9.5
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [PATCH 2/4] ARM: ux500: storage class should be before const qualifier
2014-03-05 16:34 [PATCH 2/4] ARM: ux500: storage class should be before const qualifier Tobias Klauser
@ 2014-03-12 13:38 ` Linus Walleij
0 siblings, 0 replies; 2+ messages in thread
From: Linus Walleij @ 2014-03-12 13:38 UTC (permalink / raw)
To: linux-arm-kernel
On Wed, Mar 5, 2014 at 5:34 PM, Tobias Klauser <tklauser@distanz.ch> wrote:
> 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>
Patch applied for fixes.
Yours,
Linus Walleij
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2014-03-12 13:38 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-03-05 16:34 [PATCH 2/4] ARM: ux500: storage class should be before const qualifier Tobias Klauser
2014-03-12 13:38 ` Linus Walleij
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).