Thread (8 messages) flat view 8 messages, 3 authors, 2011-02-14

Re: [PATCH -next/mmotm] net/can: fix softing build errors

From: David Miller <davem@davemloft.net>
Date: 2011-02-13 18:38:15
Also in: lkml

From: Randy Dunlap <redacted>
Date: Sun, 13 Feb 2011 08:01:14 -0800
On 02/13/11 05:37, Kurt Van Dijck wrote:
quoted
The 'select CAN_SOFTING' was introduced because it makes no sense to
have CAN_SOFTING_CS alone 'for a normal user', although there is no
real dependency.
Is a 'select' then still a good option, since it feels like repeating
all dependencies from CAN_SOFTING in CAN_SOFTING_CS?
What about this?
diff --git a/drivers/net/can/softing/Kconfig b/drivers/net/can/softing/Kconfig
index 92bd6bd..55dd3e4 100644
--- a/drivers/net/can/softing/Kconfig
+++ b/drivers/net/can/softing/Kconfig
@@ -18,7 +18,7 @@ config CAN_SOFTING
 config CAN_SOFTING_CS
 	tristate "Softing Gmbh CAN pcmcia cards"
 	depends on PCMCIA
-	select CAN_SOFTING
+	depends on CAN_SOFTING
 	---help---
 	  Support for PCMCIA cards from Softing Gmbh & some cards
 	  from Vector Gmbh.
---
It will present the Softing stuff in Kconfig as if CAN_SOFTING_CS really
depends on CAN_SOFTING, which is acceptible from a users perspective.
That's fine.
Acked-by: Randy Dunlap <redacted>
Kurt, please formally re-submit this with a proper commit message,
a signoff for you, and Randy's ACK.

Thanks.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help