Skip to content

Commit

Permalink
trivial: h8300: Storage class should be before const qualifier
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Tobias Klauser authored and Jiri Kosina committed Mar 30, 2009
1 parent 21acb9c commit b04f376
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/h8300/kernel/timer/tpu.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit b04f376

Please sign in to comment.