Skip to contentSkip to conversation

acpi: Storage class should be before const qualifier

PATCH New Tobias Klauser 1 participant 1 message Feb 17, 2008 ACPI

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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.

---
 drivers/acpi/ac.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/acpi/ac.c +1 -1
index 76b9bea..43a95e5 100644
@@ -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},
 };
Signature · 1 line
1.5.4.1