diff options
author | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2009-12-09 01:14:38 -0500 |
---|---|---|
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2009-12-09 01:14:38 -0500 |
commit | bcd6acd51f3d4d1ada201e9bc5c40a31d6d80c71 (patch) | |
tree | 2f6dffd2d3e4dd67355a224de7e7a960335a92fd /drivers/net/pppox.c | |
parent | 11c34c7deaeeebcee342cbc35e1bb2a6711b2431 (diff) | |
parent | 3ff6a468b45b5dfeb0e903e56f4eb27d34b2437c (diff) |
Merge commit 'origin/master' into next
Conflicts:
include/linux/kvm.h
Diffstat (limited to 'drivers/net/pppox.c')
-rw-r--r-- | drivers/net/pppox.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/net/pppox.c b/drivers/net/pppox.c index 4f6d33fbc673..ac806b27c658 100644 --- a/drivers/net/pppox.c +++ b/drivers/net/pppox.c | |||
@@ -104,7 +104,8 @@ int pppox_ioctl(struct socket *sock, unsigned int cmd, unsigned long arg) | |||
104 | 104 | ||
105 | EXPORT_SYMBOL(pppox_ioctl); | 105 | EXPORT_SYMBOL(pppox_ioctl); |
106 | 106 | ||
107 | static int pppox_create(struct net *net, struct socket *sock, int protocol) | 107 | static int pppox_create(struct net *net, struct socket *sock, int protocol, |
108 | int kern) | ||
108 | { | 109 | { |
109 | int rc = -EPROTOTYPE; | 110 | int rc = -EPROTOTYPE; |
110 | 111 | ||
@@ -125,7 +126,7 @@ out: | |||
125 | return rc; | 126 | return rc; |
126 | } | 127 | } |
127 | 128 | ||
128 | static struct net_proto_family pppox_proto_family = { | 129 | static const struct net_proto_family pppox_proto_family = { |
129 | .family = PF_PPPOX, | 130 | .family = PF_PPPOX, |
130 | .create = pppox_create, | 131 | .create = pppox_create, |
131 | .owner = THIS_MODULE, | 132 | .owner = THIS_MODULE, |