[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <531C8269.4010105@gmail.com>
Date: Sun, 09 Mar 2014 23:02:01 +0800
From: Chen Gang <gang.chen.5i5j@...il.com>
To: Randy Dunlap <rdunlap@...radead.org>
CC: "linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
Subject: Re: [Suggestion] Makefile: about allmodconfig issue.
On 03/09/2014 05:58 AM, Randy Dunlap wrote:
> On 03/08/2014 01:44 PM, Chen Gang wrote:
>> On 03/08/2014 11:04 PM, Randy Dunlap wrote:
>>> On 03/08/2014 05:07 AM, Chen Gang wrote:
>> [...]
>>>> Welcome any suggestions, discussions and completions.
>>>>
>>>> Thanks.
>>>>
>>>
>>> A patch has already been submitted and applied by the subsystem maintainer.
>>>
>>> http://marc.info/?l=linux-gpio&m=139413626320431&w=2
>>>
>>>
>>
>> OK, Thanks. And excuse me, I can not connect to this web site in China.
>>
>> Could you please past the patch contents in the reply mail? (or just let
>> me know whether it is "make allmodconfig" issue, or only gpio driver's
>> issue)
>>
>>
>> Thanks.
>
> It's a gpio driver Kconfig patch -- not an allmodconfig issue.
>
Can we say that the 'select' priority is higher or equal than 'depends
on'? If we really can say so, we need change our gpio driver.
Else ('depends on' priority is higher than 'select')
- some architectures can choose whether support IRQ_DOMAIN.
- if IRQ_DOMAIN enabled, our gpio driver can be used, and then select
GENERIC_IRQ_CHIP (need not consider about it selects IRQ_DOMAIN).
- else (IRQ_DOMAIN_disabled), we can not use our gpio driver, and also
can not select GENERIC_IRQ_CHIP (need not consider about it selects
IRQ_DOMAIN, either).
Excuse me, I am not quite familiar with Kconfig grammar, can any members
give a confirmation for it (whether 'select' priority is higher or equal
than 'depends on').
Thanks.
> Here is the patch:
>
> From: Alan Tull <atull@...era.com>
>
> fix build error with this message:
> kernel/irq/Kconfig:41:error: recursive dependency detected!
> kernel/irq/Kconfig:41: symbol GENERIC_IRQ_CHIP is selected by GPIO_DWAPB
> drivers/gpio/Kconfig:131: symbol GPIO_DWAPB depends on IRQ_DOMAIN
> kernel/irq/Kconfig:46: symbol IRQ_DOMAIN is selected by GENERIC_IRQ_CHIP
>
> Signed-off-by: Alan Tull <atull@...era.com>
> ---
> drivers/gpio/Kconfig | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/gpio/Kconfig b/drivers/gpio/Kconfig
> index 9979017..0e524d7 100644
> --- a/drivers/gpio/Kconfig
> +++ b/drivers/gpio/Kconfig
> @@ -132,7 +132,7 @@ config GPIO_DWAPB
> tristate "Synopsys DesignWare APB GPIO driver"
> select GPIO_GENERIC
> select GENERIC_IRQ_CHIP
> - depends on OF_GPIO && IRQ_DOMAIN
> + depends on OF_GPIO
> help
> Say Y or M here to build support for the Synopsys DesignWare APB
> GPIO block.
>
--
Chen Gang
Open, share and attitude like air, water and life which God blessed
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists