Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 198569
b: refs/heads/master
c: 1f01bfd
h: refs/heads/master
i:
  198567: 5ddfc93
v: v3
  • Loading branch information
Oliver Hartkopp authored and David S. Miller committed May 21, 2010
1 parent 35ce83a commit 8315e03
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 0f0b405cd16f7aaff84a935984cae421897d725d
refs/heads/master: 1f01bfd202bc539bccd282befa2bbdb8d6ad80ee
2 changes: 2 additions & 0 deletions trunk/drivers/net/can/sja1000/sja1000.c
Original file line number Diff line number Diff line change
Expand Up @@ -599,6 +599,8 @@ struct net_device *alloc_sja1000dev(int sizeof_priv)
priv->can.ctrlmode_supported = CAN_CTRLMODE_3_SAMPLES |
CAN_CTRLMODE_BERR_REPORTING;

spin_lock_init(&priv->cmdreg_lock);

if (sizeof_priv)
priv->priv = (void *)priv + sizeof(struct sja1000_priv);

Expand Down

0 comments on commit 8315e03

Please sign in to comment.