From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mika Westerberg Subject: Re: [PATCH v2 2/6] ACPI / utils: Move acpi_dev_get_first_match_dev() under CONFIG_ACPI Date: Tue, 1 Oct 2019 12:32:45 +0300 Message-ID: <20191001093245.GG2714@lahna.fi.intel.com> References: <20190924193739.86133-1-andriy.shevchenko@linux.intel.com> <20190924193739.86133-3-andriy.shevchenko@linux.intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline In-Reply-To: <20190924193739.86133-3-andriy.shevchenko-VuQAYsv1563Yd54FQh9/CA@public.gmane.org> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: iommu-bounces-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org Errors-To: iommu-bounces-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org To: Andy Shevchenko Cc: Ulf Hansson , kbuild test robot , linux-mmc-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, "Rafael J. Wysocki" , Adrian Hunter , linux-acpi-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, iommu-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org List-Id: linux-mmc@vger.kernel.org On Tue, Sep 24, 2019 at 10:37:35PM +0300, Andy Shevchenko wrote: > We have a stub defined for the acpi_dev_get_first_match_dev() in acpi.h > for the case when CONFIG_ACPI=n. > > Moreover, acpi_dev_put(), counterpart function, is already placed under > CONFIG_ACPI. > > Thus, move acpi_dev_get_first_match_dev() under CONFIG_ACPI as well. > > Fixes: 817b4d64da03 ("Introduce acpi_dev_get_first_match_dev() helper") > Reported-by: kbuild test robot > Signed-off-by: Andy Shevchenko Reviewed-by: Mika Westerberg