Skip to content

Commit e3f7ae9

Browse files
Erik Kanedarafaeljw
authored andcommitted
ACPICA: Fix required parameters for _NIG and _NIH
ACPICA commit 4b0e043386c7e698bea9e862f60a388647f56622 Previously, there was a mixup where _NIG required one parameter and _NIH required zero parameters. This changes swaps these parameter requirements. Now this change requires _NIH to be called with one parameter and _NIG requires zero. Link: acpica/acpica@4b0e0433 Reported-by: Paul A Lohr <[email protected]> Signed-off-by: Erik Kaneda <[email protected]> Signed-off-by: Bob Moore <[email protected]> Signed-off-by: Rafael J. Wysocki <[email protected]>
1 parent 6bfe534 commit e3f7ae9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

drivers/acpi/acpica/acpredef.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -640,10 +640,10 @@ const union acpi_predefined_info acpi_gbl_predefined_methods[] = {
640640
{{"_NIC", METHOD_0ARGS, /* ACPI 6.3 */
641641
METHOD_RETURNS(ACPI_RTYPE_BUFFER)}},
642642

643-
{{"_NIG", METHOD_1ARGS(ACPI_TYPE_BUFFER), /* ACPI 6.3 */
643+
{{"_NIG", METHOD_0ARGS, /* ACPI 6.3 */
644644
METHOD_RETURNS(ACPI_RTYPE_BUFFER)}},
645645

646-
{{"_NIH", METHOD_0ARGS, /* ACPI 6.3 */
646+
{{"_NIH", METHOD_1ARGS(ACPI_TYPE_BUFFER), /* ACPI 6.3 */
647647
METHOD_RETURNS(ACPI_RTYPE_BUFFER)}},
648648

649649
{{"_NTT", METHOD_0ARGS,

0 commit comments

Comments
 (0)