[3/4,S390] Kconfig: have CCWGROUP depend on CLAW

Submitted by frank.blaschka@de.ibm.com on Sept. 8, 2010, 7:14 a.m.


Message ID 20100908071601.413478927@de.ibm.com
State Accepted
Delegated to: David Miller
Headers show

Commit Message

frank.blaschka@de.ibm.com Sept. 8, 2010, 7:14 a.m.
From: Mike Frysinger <vapier@gentoo.org>

Since the claw code calls ccwgroup_remove_ccwdev(), we need to make sure
CCWGROUP is enabled when CLAW is enabled.  Otherwise we hit fun undefined
references at build time:
ERROR: "ccwgroup_remove_ccwdev" [drivers/s390/net/claw.ko] undefined!
ERROR: "ccwgroup_probe_ccwdev" [drivers/s390/net/claw.ko] undefined!
ERROR: "ccwgroup_driver_register" [drivers/s390/net/claw.ko] undefined!
ERROR: "ccwgroup_driver_unregister" [drivers/s390/net/claw.ko] undefined!
ERROR: "ccwgroup_create_from_string" [drivers/s390/net/claw.ko] undefined!

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Signed-off-by: Frank Blaschka <frank.blaschka@de.ibm.com>

 drivers/s390/net/Kconfig |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Patch hide | download patch | download mbox

diff -urpN linux-2.6/drivers/s390/net/Kconfig linux-2.6-patched/drivers/s390/net/Kconfig
--- linux-2.6/drivers/s390/net/Kconfig	2010-08-02 00:11:14.000000000 +0200
+++ linux-2.6-patched/drivers/s390/net/Kconfig	2010-09-07 09:57:35.000000000 +0200
@@ -100,6 +100,6 @@  config QETH_IPV6
 config CCWGROUP
-	default (LCS || CTCM || QETH)
+	default (LCS || CTCM || QETH || CLAW)