Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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 <tklauser@distanz.ch>
Signed-off-by: Jesper Juhl <jesper.juhl@gmail.com>

authored by

Tobias Klauser and committed by
Jesper Juhl
b0cdb5e1 f7e8dd50

+1 -1
+1 -1
drivers/char/sonypi.c
··· 1147 1147 return 0; 1148 1148 } 1149 1149 1150 - const static struct acpi_device_id sonypi_device_ids[] = { 1150 + static const struct acpi_device_id sonypi_device_ids[] = { 1151 1151 {"SNY6001", 0}, 1152 1152 {"", 0}, 1153 1153 };