Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 190243
b: refs/heads/master
c: 7ce97d4
h: refs/heads/master
i:
  190241: 319e346
  190239: 34c90b4
v: v3
  • Loading branch information
Anton Vorontsov authored and David S. Miller committed Apr 23, 2010
1 parent 187758f commit 3ea8b1c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 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: 3b1fd3e55a39824e68bc8dd055d14892476e3671
refs/heads/master: 7ce97d4f78b62e3af24cdd4df953d777e7efb2f6
6 changes: 1 addition & 5 deletions trunk/drivers/net/gianfar.c
Original file line number Diff line number Diff line change
Expand Up @@ -549,12 +549,8 @@ static int gfar_parse_group(struct device_node *np,
struct gfar_private *priv, const char *model)
{
u32 *queue_mask;
u64 addr, size;

addr = of_translate_address(np,
of_get_address(np, 0, &size, NULL));
priv->gfargrp[priv->num_grps].regs = ioremap(addr, size);

priv->gfargrp[priv->num_grps].regs = of_iomap(np, 0);
if (!priv->gfargrp[priv->num_grps].regs)
return -ENOMEM;

Expand Down

0 comments on commit 3ea8b1c

Please sign in to comment.