aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/gianfar.c
diff options
context:
space:
mode:
authorAnton Vorontsov <avorontsov@ru.mvista.com>2009-11-10 09:11:05 -0500
committerDavid S. Miller <davem@davemloft.net>2009-11-11 22:03:33 -0500
commit5ea681d4e6c01b191f01644024f35901721fa438 (patch)
tree1920ef54a6f863972b76983e1be956475fb533d6 /drivers/net/gianfar.c
parent4dea29d06641da5dd6f83000536c48335333e042 (diff)
gianfar: Fix build with CONFIG_PM=y
commit fba4ed030cfae7efdb6b79a57b0c5a9d72c9 ("gianfar: Add Multiple Queue Support") introduced the following build failure: CC gianfar.o gianfar.c: In function 'gfar_restore': gianfar.c:1249: error: request for member 'napi' in something not a structure or union This patch fixes the issue. Signed-off-by: Anton Vorontsov <avorontsov@ru.mvista.com> Acked-by: Kumar Gala <galak@kernel.crashing.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/gianfar.c')
-rw-r--r--drivers/net/gianfar.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/gianfar.c b/drivers/net/gianfar.c
index 79c28f55ba94..a5b0038a8d98 100644
--- a/drivers/net/gianfar.c
+++ b/drivers/net/gianfar.c
@@ -1246,7 +1246,7 @@ static int gfar_restore(struct device *dev)
1246 phy_start(priv->phydev); 1246 phy_start(priv->phydev);
1247 1247
1248 netif_device_attach(ndev); 1248 netif_device_attach(ndev);
1249 napi_enable(&priv->gfargrp.napi); 1249 enable_napi(priv);
1250 1250
1251 return 0; 1251 return 0;
1252} 1252}