On Friday, October 04, 2013 10:22:43 AM Jarkko Nikula wrote: > On 10/04/2013 09:53 AM, Rafael J. Wysocki wrote: > > On Thursday, October 03, 2013 03:33:56 PM Jarkko Nikula wrote: > >> This patch adds alternative way to specify DAI links by using ACPI names. > >> ACPI name here is considered to be used as an alias for device name during > >> DAI link binding time. > > What's DAI? > It comes from Digital Audio Interface, and DAI link in ALSA SoC > basically ties together platform, DAI and codec devices by name or > device tree node. > > > +#if IS_ENABLED(CONFIG_ACPI) > > That's not necessary, because ACPI_HANDLE() is defined as false for > > CONFIG_ACPI unset. > Actually problem acpi_bus_get_device() that is not available if > CONFIG_ACPI is not set. Which suggests was it even meant to be used in > drivers that are build for non ACPI systems too? No, acpi_bus_get_device() shoudn't be used if CONFIG_ACPI is not set. Thanks! -- I speak only for myself. Rafael J. Wysocki, Intel Open Source Technology Center. -- To unsubscribe from this list: send the line "unsubscribe linux-acpi" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html