From: Mika Westerberg Subject: Re: [PATCH] ACPI / property: fix compile error for acpi_node_get_property_reference() when CONFIG_ACPI=n Date: Wed, 2 Dec 2015 11:10:41 +0200 Message-ID: <20151202091041.GK1593@lahna.fi.intel.com> References: <1449042262-11052-1-git-send-email-guohanjun@huawei.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from mga03.intel.com ([134.134.136.65]:3308 "EHLO mga03.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757574AbbLBJKs (ORCPT ); Wed, 2 Dec 2015 04:10:48 -0500 Content-Disposition: inline In-Reply-To: <1449042262-11052-1-git-send-email-guohanjun@huawei.com> Sender: linux-acpi-owner@vger.kernel.org List-Id: linux-acpi@vger.kernel.org To: Hanjun Guo Cc: "Rafael J. Wysocki" , linux-acpi@vger.kernel.org, Kejian Yan , Hanjun Guo On Wed, Dec 02, 2015 at 03:44:22PM +0800, Hanjun Guo wrote: > From: Hanjun Guo > > In commit 60ba032ed76e ("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. > > Reported-by: Kejian Yan > Signed-off-by: Hanjun Guo Acked-by: Mika Westerberg