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

net/appletalk/ddp.c

index 1599f7a5667f04d76af6313a81100caa038d7a1d..ae137e71676960f7184a9eba4907fdf97e361998 100644 (file)
@@ -1778,6 +1778,7 @@ static struct net_proto_family atalk_family_ops = {
 
 static struct proto_ops SOCKOPS_WRAPPED(atalk_dgram_ops) = {
        .family         = PF_APPLETALK,
+       .owner          = THIS_MODULE,
        .release        = atalk_release,
        .bind           = atalk_bind,
        .connect        = atalk_connect,