aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/acpi
diff options
context:
space:
mode:
authorTobias Klauser <tklauser@distanz.ch>2008-04-21 18:24:53 -0400
committerJesper Juhl <juhl@hera.kernel.org>2008-04-21 18:24:53 -0400
commitb299c22c8c1024a5a89d19524e24b3e1d67e9eab (patch)
treef890592586004f65cba580a401d263decc33587a /drivers/acpi
parent58da495065134b45799bd02988ab658c3da6af25 (diff)
acpi: 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>
Diffstat (limited to 'drivers/acpi')
-rw-r--r--drivers/acpi/ac.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/acpi/ac.c b/drivers/acpi/ac.c
index 76b9bea98b6d..43a95e5640de 100644
--- a/drivers/acpi/ac.c
+++ b/drivers/acpi/ac.c
@@ -63,7 +63,7 @@ static int acpi_ac_add(struct acpi_device *device);
63static int acpi_ac_remove(struct acpi_device *device, int type); 63static int acpi_ac_remove(struct acpi_device *device, int type);
64static int acpi_ac_resume(struct acpi_device *device); 64static int acpi_ac_resume(struct acpi_device *device);
65 65
66const static struct acpi_device_id ac_device_ids[] = { 66static const struct acpi_device_id ac_device_ids[] = {
67 {"ACPI0003", 0}, 67 {"ACPI0003", 0},
68 {"", 0}, 68 {"", 0},
69}; 69};