From: Vasiliy Kulikov Date: Sat, 25 Jun 2011 17:07:52 +0000 (+0400) Subject: ACPI: constify ops structs X-Git-Tag: v3.1-rc1~80^2^8~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9c8b04be443b33939f374a811c82abeebe0a61d1;p=pandora-kernel.git ACPI: constify ops structs Structs battery_file, acpi_dock_ops, file_operations, thermal_cooling_device_ops, thermal_zone_device_ops, kernel_param_ops are not changed in runtime. It is safe to make them const. register_hotplug_dock_device() was altered to take const "ops" argument to respect acpi_dock_ops' const notion. Signed-off-by: Vasiliy Kulikov Acked-by: Jeff Garzik Signed-off-by: Len Brown --- Reading git-diff-tree failed