diff options
author | Tobias Klauser <tklauser@distanz.ch> | 2008-04-21 18:29:37 -0400 |
---|---|---|
committer | Jesper Juhl <juhl@hera.kernel.org> | 2008-04-21 18:29:37 -0400 |
commit | b0cdb5e11800dd76d9bb69aa335c8a33ddc50f5a (patch) | |
tree | 2429e589a3754b4cc181f6fc4d3f19d1350633e6 | |
parent | f7e8dd5071340541587e588c8fb4404dd5b0462d (diff) |
sonypi: 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: Jesper Juhl <jesper.juhl@gmail.com>
-rw-r--r-- | drivers/char/sonypi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/char/sonypi.c b/drivers/char/sonypi.c index 921c6d2bc8fc..c03ad164c39a 100644 --- a/drivers/char/sonypi.c +++ b/drivers/char/sonypi.c | |||
@@ -1147,7 +1147,7 @@ static int sonypi_acpi_remove(struct acpi_device *device, int type) | |||
1147 | return 0; | 1147 | return 0; |
1148 | } | 1148 | } |
1149 | 1149 | ||
1150 | const static struct acpi_device_id sonypi_device_ids[] = { | 1150 | static const struct acpi_device_id sonypi_device_ids[] = { |
1151 | {"SNY6001", 0}, | 1151 | {"SNY6001", 0}, |
1152 | {"", 0}, | 1152 | {"", 0}, |
1153 | }; | 1153 | }; |