[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAHp75VdNJwWbKfbsMQ2ZVmC=H3yPaLgxnE4Kstff9CYeopZJ7A@mail.gmail.com>
Date: Fri, 19 Oct 2018 16:09:17 +0300
From: Andy Shevchenko <andy.shevchenko@...il.com>
To: Lubomir Rintel <lkundrak@...sk>
Cc: Mark Brown <broonie@...nel.org>,
Geert Uytterhoeven <geert+renesas@...der.be>,
Darren Hart <dvhart@...radead.org>,
Andy Shevchenko <andy@...radead.org>,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
quozl@...top.org, Sebastian Reichel <sre@...nel.org>,
Rob Herring <robh+dt@...nel.org>,
Mark Rutland <mark.rutland@....com>,
Eric Miao <eric.y.miao@...il.com>,
Haojian Zhuang <haojian.zhuang@...il.com>,
Daniel Mack <daniel@...que.org>,
Robert Jarzmik <robert.jarzmik@...e.fr>,
linux-spi <linux-spi@...r.kernel.org>,
devicetree <devicetree@...r.kernel.org>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
linux-arm Mailing List <linux-arm-kernel@...ts.infradead.org>,
Platform Driver <platform-driver-x86@...r.kernel.org>,
devel@...verdev.osuosl.org, Linux PM <linux-pm@...r.kernel.org>
Subject: Re: [PATCH 05/15] Platform: OLPC: Move OLPC config symbol out of x86 tree
On Wed, Oct 10, 2018 at 8:23 PM Lubomir Rintel <lkundrak@...sk> wrote:
>
> There are ARM OLPC machines that use mostly the same drivers, including
> EC infrastructure, DCON and Battery.
>
> While at that, fix Kconfig to allow building this as a module.
> - depends on MOUSE_PS2 && OLPC
> + depends on MOUSE_PS2 && X86 && OLPC
> - depends on OLPC && FB
> + depends on X86 && OLPC && FB
Looking to this I would rather introduce an idiom
depends on OLPC && X86
on the opposite you may do similar for ARM
depends on OLPC && ARM // or ARM64 or whatever it's called
thus, above would look like
depends on MOUSE_PS2
depends on OLPC && X86
and
depends on FB
depends on OLPC && X86
respectively.
--
With Best Regards,
Andy Shevchenko
Powered by blists - more mailing lists