Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 1606484e authored by Hanjun Guo's avatar Hanjun Guo Committed by Rafael J. Wysocki
Browse files

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: default avatarHanjun Guo <hanjun.guo@linaro.org>
Signed-off-by: default avatarRafael J. Wysocki <rafael.j.wysocki@intel.com>
parent 6d0abeca
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -323,7 +323,7 @@ static struct acpi_object_list *acpi_processor_alloc_pdc(void)
 * _PDC is required for a BIOS-OS handshake for most of the newer
 * _PDC is required for a BIOS-OS handshake for most of the newer
 * ACPI processor features.
 * ACPI processor features.
 */
 */
static int
static acpi_status
acpi_processor_eval_pdc(acpi_handle handle, struct acpi_object_list *pdc_in)
acpi_processor_eval_pdc(acpi_handle handle, struct acpi_object_list *pdc_in)
{
{
	acpi_status status = AE_OK;
	acpi_status status = AE_OK;