]> git.baikalelectronics.ru Git - kernel.git/commit
ACPI / property: fix compile error for acpi_node_get_property_reference() when CONFIG...
authorHanjun Guo <hanjun.guo@linaro.org>
Wed, 2 Dec 2015 07:44:22 +0000 (15:44 +0800)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Wed, 2 Dec 2015 14:15:14 +0000 (15:15 +0100)
commitb37fd1c66513a56763df2413aa5b677286721342
tree66c5308f09be6e25a39c4b0df17af88e95a4ad47
parente7248db9e7c946e94b824519e15c74ff8543fcac
ACPI / property: fix compile error for acpi_node_get_property_reference() when CONFIG_ACPI=n

In commit ee49687b331e ("ACPI / property: Drop size_prop from
acpi_dev_get_property_reference()"), the argument "const char *cells_name"
was dropped, but forgot to update the stub function in no-ACPI case,
it will lead to compile error when CONFIG_ACPI=n, easliy remove
"const char *cells_name" to fix it.

Fixes: ee49687b331e "ACPI / property: Drop size_prop from acpi_dev_get_property_reference()"
Reported-by: Kejian Yan <yankejian@huawei.com>
Signed-off-by: Hanjun Guo <hanjun.guo@linaro.org>
Acked-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
include/linux/acpi.h