Re: [RFC PATCH] ssb: relax SSB_EMBEDDED dependencies
From: Randy Dunlap
Date: Wed Oct 11 2023 - 23:44:54 EST
Hi Michael,
On 10/10/23 11:43, Michael Büsch wrote:
> On Sun, 8 Oct 2023 23:12:49 -0700
> Randy Dunlap <rdunlap@xxxxxxxxxxxxx> wrote:
>
>> - depends on SSB_DRIVER_MIPS && SSB_PCICORE_HOSTMODE
>> + depends on PCI=n || SSB_PCICORE_HOSTMODE
>
> I thought about something like this:
>
> depends on (SSB_DRIVER_MIPS && PCI=n) || (SSB_DRIVER_MIPS && SSB_PCICORE_HOSTMODE)
>
> Would that solve the warning?
Yes, that works as well, although I prefer to express it like this:
config SSB_EMBEDDED
bool
- depends on SSB_DRIVER_MIPS && SSB_PCICORE_HOSTMODE
+ depends on SSB_DRIVER_MIPS
+ depends on PCI=n || SSB_PCICORE_HOSTMODE
default y
although if you prefer the way that you have it above,
I'm OK with that also.
Thanks for your help.
--
~Randy