Skip to content

Commit

Permalink
intel_menlow: Storage class should be before const qualifier
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Tobias Klauser authored and Jesper Juhl committed Apr 21, 2008
1 parent cbfa6f2 commit f7e8dd5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/misc/intel_menlow.c
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@ static int intel_menlow_memory_remove(struct acpi_device *device, int type)
return 0;
}

const static struct acpi_device_id intel_menlow_memory_ids[] = {
static const struct acpi_device_id intel_menlow_memory_ids[] = {
{"INT0002", 0},
{"", 0},
};
Expand Down

0 comments on commit f7e8dd5

Please sign in to comment.