浏览代码

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>
Tobias Klauser 17 年之前
父节点
当前提交
b0cdb5e118
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      drivers/char/sonypi.c

+ 1 - 1
drivers/char/sonypi.c

@@ -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},
 };
 };