o wanpipe: use revised net module infrastructure

Using THIS_MODULE in the struct proto_ops registered with the core.
parent 81ceefe6
...@@ -2551,7 +2551,7 @@ static int wanpipe_connect(struct socket *sock, struct sockaddr *uaddr, int addr ...@@ -2551,7 +2551,7 @@ static int wanpipe_connect(struct socket *sock, struct sockaddr *uaddr, int addr
struct proto_ops wanpipe_ops = { struct proto_ops wanpipe_ops = {
.family = PF_WANPIPE, .family = PF_WANPIPE,
.owner = THIS_MODULE,
.release = wanpipe_release, .release = wanpipe_release,
.bind = wanpipe_bind, .bind = wanpipe_bind,
.connect = wanpipe_connect, .connect = wanpipe_connect,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment