diff options
Diffstat (limited to 'drivers/net/can/sja1000/sja1000.c')
-rw-r--r-- | drivers/net/can/sja1000/sja1000.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/can/sja1000/sja1000.c b/drivers/net/can/sja1000/sja1000.c index 08ebee79d8a6..b3004de1e5e4 100644 --- a/drivers/net/can/sja1000/sja1000.c +++ b/drivers/net/can/sja1000/sja1000.c | |||
@@ -282,7 +282,7 @@ static int sja1000_start_xmit(struct sk_buff *skb, struct net_device *dev) | |||
282 | 282 | ||
283 | priv->write_reg(priv, REG_CMR, CMD_TR); | 283 | priv->write_reg(priv, REG_CMR, CMD_TR); |
284 | 284 | ||
285 | return 0; | 285 | return NETDEV_TX_OK; |
286 | } | 286 | } |
287 | 287 | ||
288 | static void sja1000_rx(struct net_device *dev) | 288 | static void sja1000_rx(struct net_device *dev) |