Parcourir la source

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 <tklauser@distanz.ch>
Signed-off-by: Jesper Juhl <jesper.juhl@gmail.com>
Tobias Klauser il y a 17 ans
Parent
commit
b299c22c8c
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      drivers/acpi/ac.c

+ 1 - 1
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_remove(struct acpi_device *device, int type);
 static int acpi_ac_resume(struct acpi_device *device);
 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},
 	{"ACPI0003", 0},
 	{"", 0},
 	{"", 0},
 };
 };