Re: [Suggestion] Makefile: about allmodconfig issue.

From: Randy Dunlap
Date: Sat Mar 08 2014 - 16:58:38 EST


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.

Here is the patch:

From: Alan Tull <atull@xxxxxxxxxx>

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@xxxxxxxxxx>
---
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.
--



--
~Randy
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/