Re: [PATCH 1/1] ipu3-cio2: Build bridge only if ACPI is enabled

2021-02-02 Thread Sakari Ailus
On Tue, Feb 02, 2021 at 09:37:47PM +, Daniel Scally wrote: > On 02/02/2021 20:30, Sakari Ailus wrote: > > On Tue, Feb 02, 2021 at 12:24:54PM -0800, Randy Dunlap wrote: > >> On 2/2/21 12:14 PM, Sakari Ailus wrote: > >>> ipu3-cio2-bridge uses several features of the ACPI framework that have no >

Re: [PATCH 1/1] ipu3-cio2: Build bridge only if ACPI is enabled

2021-02-02 Thread Daniel Scally
On 02/02/2021 20:30, Sakari Ailus wrote: > On Tue, Feb 02, 2021 at 12:24:54PM -0800, Randy Dunlap wrote: >> On 2/2/21 12:14 PM, Sakari Ailus wrote: >>> ipu3-cio2-bridge uses several features of the ACPI framework that have no >>> meaningful replacement when ACPI is disabled. Instead of adding #ifde

Re: [PATCH 1/1] ipu3-cio2: Build bridge only if ACPI is enabled

2021-02-02 Thread Sakari Ailus
On Tue, Feb 02, 2021 at 12:24:54PM -0800, Randy Dunlap wrote: > On 2/2/21 12:14 PM, Sakari Ailus wrote: > > ipu3-cio2-bridge uses several features of the ACPI framework that have no > > meaningful replacement when ACPI is disabled. Instead of adding #ifdefs to > > the affected places, only build th

Re: [PATCH 1/1] ipu3-cio2: Build bridge only if ACPI is enabled

2021-02-02 Thread Randy Dunlap
On 2/2/21 12:14 PM, Sakari Ailus wrote: > ipu3-cio2-bridge uses several features of the ACPI framework that have no > meaningful replacement when ACPI is disabled. Instead of adding #ifdefs to > the affected places, only build the bridge code if CONFIG_ACPI is enabled. > > Fixes: 803abec64ef9 ("me

[PATCH 1/1] ipu3-cio2: Build bridge only if ACPI is enabled

2021-02-02 Thread Sakari Ailus
ipu3-cio2-bridge uses several features of the ACPI framework that have no meaningful replacement when ACPI is disabled. Instead of adding #ifdefs to the affected places, only build the bridge code if CONFIG_ACPI is enabled. Fixes: 803abec64ef9 ("media: ipu3-cio2: Add cio2-bridge to ipu3-cio2 drive