[PATCH 3/4 v3] ARM: gemini: select MIGHT_HAVE_PCI

Linus Walleij linus.walleij at linaro.org
Thu Mar 2 15:31:31 PST 2017


On Thu, Mar 2, 2017 at 5:29 PM, Rob Herring <robh at kernel.org> wrote:
> On Mon, Feb 27, 2017 at 08:07:19PM +0100, Linus Walleij wrote:
>> As we have a PCI driver for the Gemini, we should select
>> MIGHT_HAVE_PCI.
>>
>> Cc: Janos Laube <janos.dev at gmail.com>
>> Cc: Paulius Zaleckas <paulius.zaleckas at gmail.com>
>> Cc: Hans Ulli Kroll <ulli.kroll at googlemail.com>
>> Cc: Florian Fainelli <f.fainelli at gmail.com>
>> Cc: Feng-Hsin Chiang <john453 at faraday-tech.com>
>> Cc: Greentime Hu <green.hu at gmail.com>
>> Signed-off-by: Linus Walleij <linus.walleij at linaro.org>
>> ---
>> ChangeLog v1->v2->v3:
>> - No changes
>>
>> PCI maintainers: this is FYI only, I will funnel this to the ARM
>> SoC tree once we are done with the PCI driver.
>> ---
>>  arch/arm/mach-gemini/Kconfig | 1 +
>>  1 file changed, 1 insertion(+)
>>
>> diff --git a/arch/arm/mach-gemini/Kconfig b/arch/arm/mach-gemini/Kconfig
>> index a5ee5fbab796..21f89a4c16fe 100644
>> --- a/arch/arm/mach-gemini/Kconfig
>> +++ b/arch/arm/mach-gemini/Kconfig
>> @@ -6,6 +6,7 @@ menuconfig ARCH_GEMINI
>>       select FTTMR010_TIMER
>>       select GPIO_GEMINI
>>       select GPIOLIB
>> +     select MIGHT_HAVE_PCI
>
> Doesn't Multi-platform do this for you?

Oh it does, I just missed that.

> If not, IMO, we should do that
> or kill this option. We don't do an option like this for I2C, SPI,
> display, anything else (well, except GPIOLIB ;)).

I killed ARCH_WANT_OPTIONAL_GPIOLIB at least
that thing was really confusing.

Maybe we should have MULTIPLATFORM select
GPIOLIB too.

Yours,
Linus Walleij



More information about the linux-arm-kernel mailing list