diff options
Diffstat (limited to 'drivers/acpi/battery.c')
-rw-r--r-- | drivers/acpi/battery.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/acpi/battery.c b/drivers/acpi/battery.c index 5dfe18bf24cb..2abc03668627 100644 --- a/drivers/acpi/battery.c +++ b/drivers/acpi/battery.c | |||
@@ -743,7 +743,7 @@ DECLARE_FILE_FUNCTIONS(alarm); | |||
743 | static struct battery_file { | 743 | static struct battery_file { |
744 | struct file_operations ops; | 744 | struct file_operations ops; |
745 | mode_t mode; | 745 | mode_t mode; |
746 | char *name; | 746 | const char *name; |
747 | } acpi_battery_file[] = { | 747 | } acpi_battery_file[] = { |
748 | FILE_DESCRIPTION_RO(info), | 748 | FILE_DESCRIPTION_RO(info), |
749 | FILE_DESCRIPTION_RO(state), | 749 | FILE_DESCRIPTION_RO(state), |