diff options
author | Tobias Klauser <tklauser@distanz.ch> | 2007-02-17 20:11:19 +0100 |
---|---|---|
committer | Adrian Bunk <bunk@stusta.de> | 2007-02-17 20:11:19 +0100 |
commit | c5a69d57eb48e36f84c0737b5b24ec277d7dbfba (patch) | |
tree | a222d02f4fa9b42e78228cdb106ace4e35bd2ccc /arch/powerpc/kernel/rtas.c | |
parent | 0bbfb7c2e4b682542a822d3af05cea0e5cb5ba81 (diff) | |
download | lwn-c5a69d57eb48e36f84c0737b5b24ec277d7dbfba.tar.gz lwn-c5a69d57eb48e36f84c0737b5b24ec277d7dbfba.zip |
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: Adrian Bunk <bunk@stusta.de>
Diffstat (limited to 'arch/powerpc/kernel/rtas.c')
-rw-r--r-- | arch/powerpc/kernel/rtas.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/kernel/rtas.c b/arch/powerpc/kernel/rtas.c index 76b5d7ebdcc6..9d0735a54564 100644 --- a/arch/powerpc/kernel/rtas.c +++ b/arch/powerpc/kernel/rtas.c @@ -182,7 +182,7 @@ void rtas_progress(char *s, unsigned short hex) char *os; static int display_character, set_indicator; static int display_width, display_lines, form_feed; - const static int *row_width; + static const int *row_width; static DEFINE_SPINLOCK(progress_lock); static int current_line; static int pending_newline = 0; /* did last write end with unprinted newline? */ |