Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 368887
b: refs/heads/master
c: 5743756
h: refs/heads/master
i:
  368885: 306e6d1
  368883: be6d861
  368879: 79f0eab
v: v3
  • Loading branch information
Jingoo Han authored and David S. Miller committed Apr 7, 2013
1 parent 27a9daa commit fa727bc
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 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: 8f996607824dba3c808bb7ed3f8f82670120383e
refs/heads/master: 5743756161518f279ad0bd21437713f7bc3f0a81
4 changes: 2 additions & 2 deletions trunk/drivers/net/ethernet/microchip/enc28j60.c
Original file line number Diff line number Diff line change
Expand Up @@ -1566,7 +1566,7 @@ static int enc28j60_probe(struct spi_device *spi)
INIT_WORK(&priv->setrx_work, enc28j60_setrx_work_handler);
INIT_WORK(&priv->irq_work, enc28j60_irq_work_handler);
INIT_WORK(&priv->restart_work, enc28j60_restart_work_handler);
dev_set_drvdata(&spi->dev, priv); /* spi to priv reference */
spi_set_drvdata(spi, priv); /* spi to priv reference */
SET_NETDEV_DEV(dev, &spi->dev);

if (!enc28j60_chipset_init(dev)) {
Expand Down Expand Up @@ -1618,7 +1618,7 @@ static int enc28j60_probe(struct spi_device *spi)

static int enc28j60_remove(struct spi_device *spi)
{
struct enc28j60_net *priv = dev_get_drvdata(&spi->dev);
struct enc28j60_net *priv = spi_get_drvdata(spi);

if (netif_msg_drv(priv))
printk(KERN_DEBUG DRV_NAME ": remove\n");
Expand Down

0 comments on commit fa727bc

Please sign in to comment.