summaryrefslogtreecommitdiff
path: root/arch/arm/mach-davinci/cpuidle.c
diff options
context:
space:
mode:
authorBart Van Assche <bvanassche@acm.org>2011-11-02 20:16:05 +0100
committerLen Brown <len.brown@intel.com>2011-11-06 20:58:17 -0500
commitc1056b42a87b59375f8f81a92ef029165f44fcce (patch)
treed02708102aae8adb7869d321bd5265e49f86d965 /arch/arm/mach-davinci/cpuidle.c
parent51e20d0e3a60cf46b52ee1af598a35834919ed27 (diff)
downloadlinux-3.10-c1056b42a87b59375f8f81a92ef029165f44fcce.tar.gz
linux-3.10-c1056b42a87b59375f8f81a92ef029165f44fcce.tar.bz2
linux-3.10-c1056b42a87b59375f8f81a92ef029165f44fcce.zip
ACPI: Fix CONFIG_ACPI_DOCK=n compiler warning
Recently the ACPI ops structs were constified but the inline version of register_hotplug_dock_device() was overlooked (see also commit 9c8b04b, June 25 2011). Update the inline function register_hotplug_dock_device() that is enabled with CONFIG_ACPI_DOCK=n too. This patch fixes at least the following compiler warnings: drivers/ata/libata-acpi.c: In function .ata_acpi_associate.: drivers/ata/libata-acpi.c:266:11: warning: passing argument 2 of .register_hotplug_dock_device. discards qualifiers from pointer target type include/acpi/acpi_drivers.h:146:19: note: expected .struct acpi_dock_ops *. but argument is of type .const struct acpi_dock_ops *. drivers/ata/libata-acpi.c:275:11: warning: passing argument 2 of .register_hotplug_dock_device. discards qualifiers from pointer target type include/acpi/acpi_drivers.h:146:19: note: expected .struct acpi_dock_ops *. but argument is of type .const struct acpi_dock_ops *. Cc: stable@vger.kernel.org Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'arch/arm/mach-davinci/cpuidle.c')
0 files changed, 0 insertions, 0 deletions