]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
acpi: Storage class should be before const qualifier
authorTobias Klauser <tklauser@distanz.ch>
Mon, 21 Apr 2008 22:24:53 +0000 (22:24 +0000)
committerJesper Juhl <juhl@hera.kernel.org>
Mon, 21 Apr 2008 22:24:53 +0000 (22:24 +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/acpi/ac.c

index 76b9bea98b6d95729b6750072b7c40de2a9ec922..43a95e5640debc27496f518a2170b4b2a5090b2c 100644 (file)
@@ -63,7 +63,7 @@ static int acpi_ac_add(struct acpi_device *device);
 static int acpi_ac_remove(struct acpi_device *device, int type);
 static int acpi_ac_resume(struct acpi_device *device);
 
-const static struct acpi_device_id ac_device_ids[] = {
+static const struct acpi_device_id ac_device_ids[] = {
        {"ACPI0003", 0},
        {"", 0},
 };