Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 255358
b: refs/heads/master
c: 07a648e
h: refs/heads/master
v: v3
  • Loading branch information
Marc Kleine-Budde committed Jun 6, 2011
1 parent be4c826 commit 91ef22d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: d3d47264a364aa3adcbb485471dbf9f693fb4216
refs/heads/master: 07a648e668aa7f7c94d41d8d2e4ad53b609e391d
4 changes: 3 additions & 1 deletion trunk/drivers/net/can/at91_can.c
Original file line number Diff line number Diff line change
Expand Up @@ -1257,7 +1257,6 @@ static int __devinit at91_can_probe(struct platform_device *pdev)
dev->netdev_ops = &at91_netdev_ops;
dev->irq = irq;
dev->flags |= IFF_ECHO;
dev->sysfs_groups[0] = &at91_sysfs_attr_group;

priv = netdev_priv(dev);
priv->can.clock.freq = clk_get_rate(clk);
Expand All @@ -1275,6 +1274,9 @@ static int __devinit at91_can_probe(struct platform_device *pdev)

netif_napi_add(dev, &priv->napi, at91_poll, get_mb_rx_num(priv));

if (at91_is_sam9263(priv))
dev->sysfs_groups[0] = &at91_sysfs_attr_group;

dev_set_drvdata(&pdev->dev, dev);
SET_NETDEV_DEV(dev, &pdev->dev);

Expand Down

0 comments on commit 91ef22d

Please sign in to comment.