diff options
Diffstat (limited to 'net')
-rw-r--r-- | net/netrom/nr_dev.c | 2 | ||||
-rw-r--r-- | net/rose/rose_dev.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/net/netrom/nr_dev.c b/net/netrom/nr_dev.c index c7b7838a0519..7aa11b01b2e2 100644 --- a/net/netrom/nr_dev.c +++ b/net/netrom/nr_dev.c | |||
@@ -169,7 +169,7 @@ static int nr_close(struct net_device *dev) | |||
169 | return 0; | 169 | return 0; |
170 | } | 170 | } |
171 | 171 | ||
172 | static int nr_xmit(struct sk_buff *skb, struct net_device *dev) | 172 | static netdev_tx_t nr_xmit(struct sk_buff *skb, struct net_device *dev) |
173 | { | 173 | { |
174 | struct net_device_stats *stats = &dev->stats; | 174 | struct net_device_stats *stats = &dev->stats; |
175 | unsigned int len = skb->len; | 175 | unsigned int len = skb->len; |
diff --git a/net/rose/rose_dev.c b/net/rose/rose_dev.c index c711e2edf5ce..424b893d1450 100644 --- a/net/rose/rose_dev.c +++ b/net/rose/rose_dev.c | |||
@@ -131,7 +131,7 @@ static int rose_close(struct net_device *dev) | |||
131 | return 0; | 131 | return 0; |
132 | } | 132 | } |
133 | 133 | ||
134 | static int rose_xmit(struct sk_buff *skb, struct net_device *dev) | 134 | static netdev_tx_t rose_xmit(struct sk_buff *skb, struct net_device *dev) |
135 | { | 135 | { |
136 | struct net_device_stats *stats = &dev->stats; | 136 | struct net_device_stats *stats = &dev->stats; |
137 | 137 | ||