intel_menlow: Storage class should be before const qualifier
authorTobias Klauser <tklauser@distanz.ch>
Mon, 21 Apr 2008 22:28:49 +0000 (22:28 +0000)
committerJesper 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

index de16e88..0c0bb30 100644 (file)
@@ -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},
 };