From: Tobias Klauser Date: Mon, 21 Apr 2008 22:24:53 +0000 (+0000) Subject: acpi: Storage class should be before const qualifier X-Git-Tag: v2.6.26-rc1~1114^2~17 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b299c22c8c1024a5a89d19524e24b3e1d67e9eab;p=linux-2.6 acpi: 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 Signed-off-by: Jesper Juhl --- diff --git a/drivers/acpi/ac.c b/drivers/acpi/ac.c index 76b9bea98b..43a95e5640 100644 --- a/drivers/acpi/ac.c +++ b/drivers/acpi/ac.c @@ -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}, };