diff options
author | Bob Moore <robert.moore@intel.com> | 2015-12-29 14:00:07 +0800 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2016-01-01 03:47:37 +0100 |
commit | 89438f96f2c6d31e1d7594714475c582afe03329 (patch) | |
tree | e03822c80ead23b6eeab5289c61e88eb0ef9f5fb /drivers/acpi/acpica/psargs.c | |
parent | 8d0b5b788f9e80707ea7dd5880d74227e6620d09 (diff) | |
download | linux-89438f96f2c6d31e1d7594714475c582afe03329.tar.gz linux-89438f96f2c6d31e1d7594714475c582afe03329.tar.bz2 linux-89438f96f2c6d31e1d7594714475c582afe03329.zip |
ACPICA: Parser: Add constants for internal namepath function
ACPICA commit b216e39fe85feee955d29fe0a7190dd811e181ea
Add true/false constants for the "PossibleMethodCall" parameter
for acpi_ps_get_next_namepath.
Link: https://github.com/acpica/acpica/commit/b216e39f
Signed-off-by: Bob Moore <robert.moore@intel.com>
Signed-off-by: Lv Zheng <lv.zheng@intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/acpi/acpica/psargs.c')
-rw-r--r-- | drivers/acpi/acpica/psargs.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/acpi/acpica/psargs.c b/drivers/acpi/acpica/psargs.c index 3f0ffeef4137..0fdb7fc4824a 100644 --- a/drivers/acpi/acpica/psargs.c +++ b/drivers/acpi/acpica/psargs.c @@ -821,7 +821,7 @@ acpi_ps_get_next_arg(struct acpi_walk_state *walk_state, status = acpi_ps_get_next_namepath(walk_state, parser_state, arg, - 1); + ACPI_POSSIBLE_METHOD_CALL); /* * If the super_name arg of Unload is a method call, @@ -836,7 +836,7 @@ acpi_ps_get_next_arg(struct acpi_walk_state *walk_state, status = acpi_ps_get_next_namepath(walk_state, parser_state, arg, - 0); + ACPI_NOT_METHOD_CALL); } } else { /* Single complex argument, nothing returned */ |