projects
/
GitHub
/
MotorolaMobilityLLC
/
kernel-slsi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f7e8dd5
)
sonypi: Storage class should be before const qualifier
author
Tobias Klauser
<tklauser@distanz.ch>
Mon, 21 Apr 2008 22:29:37 +0000
(22:29 +0000)
committer
Jesper Juhl
<juhl@hera.kernel.org>
Mon, 21 Apr 2008 22:29:37 +0000
(22:29 +0000)
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>
drivers/char/sonypi.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/char/sonypi.c
b/drivers/char/sonypi.c
index 921c6d2bc8fc6b1959aa932a623469d59112b719..c03ad164c39af5ff1e7fd73c7858c5f5ff9ab2f2 100644
(file)
--- 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)
return 0;
}
-
const static
struct acpi_device_id sonypi_device_ids[] = {
+
static const
struct acpi_device_id sonypi_device_ids[] = {
{"SNY6001", 0},
{"", 0},
};