From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by mx.groups.io with SMTP id smtpd.web12.36448.1590431105844904158 for ; Mon, 25 May 2020 11:25:06 -0700 Authentication-Results: mx.groups.io; dkim=missing; spf=pass (domain: arm.com, ip: 217.140.110.172, mailfrom: ard.biesheuvel@arm.com) Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 7638D1FB; Mon, 25 May 2020 11:25:04 -0700 (PDT) Received: from e123331-lin.nice.arm.com (unknown [10.37.8.89]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 6BDAE3F305; Mon, 25 May 2020 11:25:03 -0700 (PDT) From: "Ard Biesheuvel" To: devel@edk2.groups.io Cc: leif@nuviainc.com, Ard Biesheuvel Subject: [PATCH edk2-platforms 1/1] Silicon/SynQuacer: use correct argument count for _EVT ACPI method Date: Mon, 25 May 2020 20:24:55 +0200 Message-Id: <20200525182455.18481-1-ard.biesheuvel@arm.com> X-Mailer: git-send-email 2.17.1 The _EVT method on the ACPI0013 Generic Event device takes a single argument. Even though we are not interested in its value (given that there is only one interrupt source), we still have to declare the prototype correctly, or the OS might complain and refuse to call it. Signed-off-by: Ard Biesheuvel --- Silicon/Socionext/SynQuacer/AcpiTables/Dsdt.asl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Silicon/Socionext/SynQuacer/AcpiTables/Dsdt.asl b/Silicon/Socionext/SynQuacer/AcpiTables/Dsdt.asl index 0ea8ce6d5f44..50f1753c3565 100644 --- a/Silicon/Socionext/SynQuacer/AcpiTables/Dsdt.asl +++ b/Silicon/Socionext/SynQuacer/AcpiTables/Dsdt.asl @@ -226,7 +226,7 @@ DefinitionBlock ("DsdtTable.aml", "DSDT", 1, "SNI", "SYNQUACR", MASK = 0xfffffeff } - Method (_EVT) { + Method (_EVT, 0x1) { REQC = 0x100 Notify (\_SB.PWRB, 0x80) } -- 2.17.1