trivial: h8300: Storage class should be before const qualifier

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Linux Kernel Mailing List
Date: Friday, April 3, 2009 - 6:02 pm

Gitweb:     http://git.kernel.org/linus/b04f376151d17cb7cad48c932ba516622c167b44
Commit:     b04f376151d17cb7cad48c932ba516622c167b44
Parent:     21acb9caa2e30b100e9a1943d995bb99d40f4035
Author:     Tobias Klauser <tklauser@distanz.ch>
AuthorDate: Mon Feb 9 21:39:32 2009 +0100
Committer:  Jiri Kosina <jkosina@suse.cz>
CommitDate: Mon Mar 30 15:22:02 2009 +0200

    trivial: h8300: 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: Jiri Kosina <jkosina@suse.cz>
---
 arch/h8300/kernel/timer/tpu.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/arch/h8300/kernel/timer/tpu.c b/arch/h8300/kernel/timer/tpu.c
index df7f453..79ae1db 100644
--- a/arch/h8300/kernel/timer/tpu.c
+++ b/arch/h8300/kernel/timer/tpu.c
@@ -68,7 +68,7 @@ static struct irqaction tpu_irq = {
 	.mask		= CPU_MASK_NONE,
 };
 
-const static int __initdata divide_rate[] = {
+static const int __initdata divide_rate[] = {
 #if CONFIG_H8300_TPU_CH == 0
 	1,4,16,64,0,0,0,0,
 #elif (CONFIG_H8300_TPU_CH == 1) || (CONFIG_H8300_TPU_CH == 5)
--
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
trivial: h8300: Storage class should be before const qualifier, Linux Kernel Mailing ..., (Fri Apr 3, 6:02 pm)