Skip to contentSkip to conversation

Constify struct file_operations for 2.6.32-git-053fe57ac v2

PATCH New [email protected] 1 participant 1 message Dec 14, 2009 ACPI

lore
Share & tools
lore
#0 lore raw

cover Constify struct file_operations for 2.6.32-git-053fe57ac v2

---
 drivers/acpi/battery.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/acpi/battery.c +1 -1
index 3f4602b..2e41d36 100644
@@ -763,7 +763,7 @@ DECLARE_FILE_FUNCTIONS(alarm);
 	}
 
 static struct battery_file {
-	struct file_operations ops;
+	const struct file_operations ops;
 	mode_t mode;
 	const char *name;
 } acpi_battery_file[] = {
Signature · 1 line
1.6.5.3