]> git.neil.brown.name Git - history.git/commitdiff
o rose: use revised net module infrastructure
authorArnaldo Carvalho de Melo <acme@conectiva.com.br>
Sat, 3 May 2003 00:38:52 +0000 (21:38 -0300)
committerArnaldo Carvalho de Melo <acme@conectiva.com.br>
Sat, 3 May 2003 00:38:52 +0000 (21:38 -0300)
Using THIS_MODULE in the struct proto_ops registered with the core.

net/rose/af_rose.c

index a5071a5eb5bd071c79106d2d0c7f1f08272e2a21..e1abedac823f0f9249192365b96c8042a8e81ef8 100644 (file)
@@ -1424,7 +1424,7 @@ static struct net_proto_family rose_family_ops = {
 
 static struct proto_ops rose_proto_ops = {
        .family         =       PF_ROSE,
-
+       .owner          =       THIS_MODULE,
        .release        =       rose_release,
        .bind           =       rose_bind,
        .connect        =       rose_connect,