Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 203416
b: refs/heads/master
c: 5cf3e03
h: refs/heads/master
v: v3
  • Loading branch information
David S. Miller committed Jul 8, 2010
1 parent 1139c62 commit 3c3aa95
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: a038716957d3888a595014a660b1db1f28946f62
refs/heads/master: 5cf3e03457aa905f17f9765702850316b69aad1e
4 changes: 2 additions & 2 deletions trunk/drivers/net/ethoc.c
Original file line number Diff line number Diff line change
Expand Up @@ -286,7 +286,7 @@ static inline void ethoc_disable_rx_and_tx(struct ethoc *dev)
ethoc_write(dev, MODER, mode);
}

static int ethoc_init_ring(struct ethoc *dev, void* mem_start)
static int ethoc_init_ring(struct ethoc *dev, unsigned long mem_start)
{
struct ethoc_bd bd;
int i;
Expand Down Expand Up @@ -670,7 +670,7 @@ static int ethoc_open(struct net_device *dev)
if (ret)
return ret;

ethoc_init_ring(priv, (void*)dev->mem_start);
ethoc_init_ring(priv, dev->mem_start);
ethoc_reset(priv);

if (netif_queue_stopped(dev)) {
Expand Down

0 comments on commit 3c3aa95

Please sign in to comment.