]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - net/can/af_can.c
Merge branch 'v28-range-hrtimers-for-linus-v2' of git://git.kernel.org/pub/scm/linux...
[linux-2.6-omap-h63xx.git] / net / can / af_can.c
index 8035fbf526ae24e5fabff5b1c588abb8769e3c67..7d4d2b3c137ef6b84598d9bebd50b1a69dfaf707 100644 (file)
@@ -128,8 +128,8 @@ static int can_create(struct net *net, struct socket *sock, int protocol)
        if (net != &init_net)
                return -EAFNOSUPPORT;
 
-#ifdef CONFIG_KMOD
-       /* try to load protocol module, when CONFIG_KMOD is defined */
+#ifdef CONFIG_MODULES
+       /* try to load protocol module kernel is modular */
        if (!proto_tab[protocol]) {
                err = request_module("can-proto-%d", protocol);