Kconfig: have CCWGROUP depend on CLAW
authorMike Frysinger <vapier@gentoo.org>
Tue, 7 Sep 2010 21:14:41 +0000 (21:14 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 8 Sep 2010 21:31:01 +0000 (14:31 -0700)
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>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/s390/net/Kconfig

index 977bb4d4ed15425b6b780649c5c15d98e977c964..456b1874339765b1104fab2726a2d47358549559 100644 (file)
@@ -100,6 +100,6 @@ config QETH_IPV6
 
 config CCWGROUP
        tristate
-       default (LCS || CTCM || QETH)
+       default (LCS || CTCM || QETH || CLAW)
 
 endmenu