From: Kevin O'Connor Date: Fri, 9 May 2014 13:18:31 +0000 (-0400) Subject: acpi: Fix acpi dsdt compile warning. X-Git-Tag: rel-1.7.5-rc1 X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=b1d4dc908401719c5de78c25313cf82c7cd1d602;p=seabios.git acpi: Fix acpi dsdt compile warning. The _EJ0 method should not return a value. Signed-off-by: Kevin O'Connor --- diff --git a/src/fw/acpi-dsdt.dsl b/src/fw/acpi-dsdt.dsl index 56243c3..3556dca 100644 --- a/src/fw/acpi-dsdt.dsl +++ b/src/fw/acpi-dsdt.dsl @@ -139,7 +139,6 @@ DefinitionBlock ( Method(PCEJ, 1, NotSerialized) { // _EJ0 method - eject callback Store(ShiftLeft(1, Arg0), B0EJ) - Return (0x0) } /* Hotplug notification method supplied by SSDT */ diff --git a/src/fw/ssdt-pcihp.dsl b/src/fw/ssdt-pcihp.dsl index 67e485f..cb24c11 100644 --- a/src/fw/ssdt-pcihp.dsl +++ b/src/fw/ssdt-pcihp.dsl @@ -29,7 +29,7 @@ DefinitionBlock ("ssdt-pcihp.aml", "SSDT", 0x01, "BXPC", "BXSSDTPCIHP", 0x1) Name(_ADR, 0xAA0000) ACPI_EXTRACT_METHOD_STRING ssdt_pcihp_ej0 Method(_EJ0, 1) { - Return (PCEJ(_SUN)) + PCEJ(_SUN) } } }