diff options
author | David S. Miller <davem@davemloft.net> | 2010-04-27 15:49:13 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-04-27 15:49:13 -0400 |
commit | e1703b36c358dde24ececba4fd609ecd91433ba3 (patch) | |
tree | d59c333d0ad5bf72f165264eba6048c87fdc4e0f /drivers/net/gianfar.c | |
parent | 7ec75c582e639d956ce3afd499f67febe6f902a4 (diff) | |
parent | e95ef5d3f6bc60433883e1ef65dac747acd0bf1a (diff) |
Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6
Conflicts:
drivers/net/e100.c
drivers/net/e1000e/netdev.c
Diffstat (limited to 'drivers/net/gianfar.c')
-rw-r--r-- | drivers/net/gianfar.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/drivers/net/gianfar.c b/drivers/net/gianfar.c index 032073d1e3d2..0cef967499d3 100644 --- a/drivers/net/gianfar.c +++ b/drivers/net/gianfar.c | |||
@@ -558,12 +558,8 @@ static int gfar_parse_group(struct device_node *np, | |||
558 | struct gfar_private *priv, const char *model) | 558 | struct gfar_private *priv, const char *model) |
559 | { | 559 | { |
560 | u32 *queue_mask; | 560 | u32 *queue_mask; |
561 | u64 addr, size; | ||
562 | |||
563 | addr = of_translate_address(np, | ||
564 | of_get_address(np, 0, &size, NULL)); | ||
565 | priv->gfargrp[priv->num_grps].regs = ioremap(addr, size); | ||
566 | 561 | ||
562 | priv->gfargrp[priv->num_grps].regs = of_iomap(np, 0); | ||
567 | if (!priv->gfargrp[priv->num_grps].regs) | 563 | if (!priv->gfargrp[priv->num_grps].regs) |
568 | return -ENOMEM; | 564 | return -ENOMEM; |
569 | 565 | ||