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 <lkp@xxxxxxxxx> > Signed-off-by: Andy Shevchenko <andriy.shevchenko@xxxxxxxxxxxxxxx> Reviewed-by: Mika Westerberg <mika.westerberg@xxxxxxxxxxxxxxx>