projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cbfa6f2
)
intel_menlow: Storage class should be before const qualifier
author
Tobias Klauser
<tklauser@distanz.ch>
Mon, 21 Apr 2008 22:28:49 +0000
(22:28 +0000)
committer
Jesper Juhl
<juhl@hera.kernel.org>
Mon, 21 Apr 2008 22:28:49 +0000
(22:28 +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/misc/intel_menlow.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/misc/intel_menlow.c
b/drivers/misc/intel_menlow.c
index de16e88eb8d3d89785fdefce12a7953c878bb0c6..0c0bb3093e07e7ab1afea5c37acfb38ac83394dc 100644
(file)
--- a/
drivers/misc/intel_menlow.c
+++ b/
drivers/misc/intel_menlow.c
@@
-213,7
+213,7
@@
static int intel_menlow_memory_remove(struct acpi_device *device, int type)
return 0;
}
-
const static
struct acpi_device_id intel_menlow_memory_ids[] = {
+
static const
struct acpi_device_id intel_menlow_memory_ids[] = {
{"INT0002", 0},
{"", 0},
};