summaryrefslogtreecommitdiffstats
path: root/drivers/acpi/battery.c
diff options
context:
space:
mode:
authorJan Engelhardt <jengelh@medozas.de>2009-01-12 00:07:55 +0100
committerLen Brown <len.brown@intel.com>2009-04-03 23:14:40 -0400
commit070d8eb1f6b789206486ea6a4a1bb7745d86d314 (patch)
tree08adf0215ee2f76a26adca7ff90e449d02acee22 /drivers/acpi/battery.c
parent8e0ee43bc2c3e19db56a4adaa9a9b04ce885cd84 (diff)
downloadblackbird-op-linux-070d8eb1f6b789206486ea6a4a1bb7745d86d314.tar.gz
blackbird-op-linux-070d8eb1f6b789206486ea6a4a1bb7745d86d314.zip
ACPI: constify VFTs (1/2)
Signed-off-by: Jan Engelhardt <jengelh@medozas.de> Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'drivers/acpi/battery.c')
-rw-r--r--drivers/acpi/battery.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/acpi/battery.c b/drivers/acpi/battery.c
index 69cbc57c2d1c..4d11b0704d5f 100644
--- a/drivers/acpi/battery.c
+++ b/drivers/acpi/battery.c
@@ -740,7 +740,7 @@ DECLARE_FILE_FUNCTIONS(alarm);
static struct battery_file {
struct file_operations ops;
mode_t mode;
- char *name;
+ const char *name;
} acpi_battery_file[] = {
FILE_DESCRIPTION_RO(info),
FILE_DESCRIPTION_RO(state),
OpenPOWER on IntegriCloud