X-Git-Url: http://pilppa.org/gitweb/gitweb.cgi?a=blobdiff_plain;f=net%2Fcan%2Faf_can.c;h=7d4d2b3c137ef6b84598d9bebd50b1a69dfaf707;hb=aa198bf1dadefaefeb2c4a32444dfc6c7f93938d;hp=8035fbf526ae24e5fabff5b1c588abb8769e3c67;hpb=e9dd54da0ba494bd86c45bdf574a6fd6ff8f2210;p=linux-2.6-omap-h63xx.git diff --git a/net/can/af_can.c b/net/can/af_can.c index 8035fbf526a..7d4d2b3c137 100644 --- a/net/can/af_can.c +++ b/net/can/af_can.c @@ -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);