From: Tobias Klauser Date: Mon, 21 Apr 2008 22:29:37 +0000 (+0000) Subject: sonypi: Storage class should be before const qualifier X-Git-Tag: MMI-PSA29.97-13-9~35584^2~12 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=b0cdb5e11800dd76d9bb69aa335c8a33ddc50f5a;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.git 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: Tobias Klauser Signed-off-by: Jesper Juhl --- diff --git a/drivers/char/sonypi.c b/drivers/char/sonypi.c index 921c6d2bc8fc..c03ad164c39a 100644 --- a/drivers/char/sonypi.c +++ b/drivers/char/sonypi.c @@ -1147,7 +1147,7 @@ static int sonypi_acpi_remove(struct acpi_device *device, int type) return 0; } -const static struct acpi_device_id sonypi_device_ids[] = { +static const struct acpi_device_id sonypi_device_ids[] = { {"SNY6001", 0}, {"", 0}, };