Commit b0cdb5e1 authored by Tobias Klauser's avatar Tobias Klauser Committed by Jesper Juhl

sonypi: 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: default avatarTobias Klauser <tklauser@distanz.ch>
Signed-off-by: default avatarJesper Juhl <jesper.juhl@gmail.com>
parent f7e8dd50
...@@ -1147,7 +1147,7 @@ static int sonypi_acpi_remove(struct acpi_device *device, int type) ...@@ -1147,7 +1147,7 @@ static int sonypi_acpi_remove(struct acpi_device *device, int type)
return 0; return 0;
} }
const static struct acpi_device_id sonypi_device_ids[] = { static const struct acpi_device_id sonypi_device_ids[] = {
{"SNY6001", 0}, {"SNY6001", 0},
{"", 0}, {"", 0},
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment