aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/acpi
diff options
context:
space:
mode:
authorHanjun Guo <hanjun.guo@linaro.org>2014-02-08 07:46:26 -0500
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2014-02-18 18:31:36 -0500
commit1606484ec1f5ee3315a4ff4a80504c3908c60023 (patch)
treeea26e18c9e02b9ac3f103d1dc4331e9f310c7988 /drivers/acpi
parent6d0abeca3242a88cab8232e4acd7e2bf088f3bc2 (diff)
ACPI / processor: Fix acpi_processor_eval_pdc() return value type
The return value type of acpi_processor_eval_pdc() should be 'acpi_status' but is defined as 'int', so fix it. Signed-off-by: Hanjun Guo <hanjun.guo@linaro.org> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/acpi')
-rw-r--r--drivers/acpi/processor_core.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/acpi/processor_core.c b/drivers/acpi/processor_core.c
index a4eea9a508d3..0bbf5289abeb 100644
--- a/drivers/acpi/processor_core.c
+++ b/drivers/acpi/processor_core.c
@@ -323,7 +323,7 @@ static struct acpi_object_list *acpi_processor_alloc_pdc(void)
323 * _PDC is required for a BIOS-OS handshake for most of the newer 323 * _PDC is required for a BIOS-OS handshake for most of the newer
324 * ACPI processor features. 324 * ACPI processor features.
325 */ 325 */
326static int 326static acpi_status
327acpi_processor_eval_pdc(acpi_handle handle, struct acpi_object_list *pdc_in) 327acpi_processor_eval_pdc(acpi_handle handle, struct acpi_object_list *pdc_in)
328{ 328{
329 acpi_status status = AE_OK; 329 acpi_status status = AE_OK;