summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>2007-10-18 09:14:03 +1000
committerJeff Garzik <jeff@garzik.org>2007-10-17 20:17:34 -0400
commite30d42273bfa907dc06920c53fa3f303783e1e97 (patch)
tree6c78cc4db36cc308391be5e26e44daebfbb64d3c
parent6de16237c78a9df6c7cb2d1b3bbd788322ecb344 (diff)
downloadop-kernel-dev-e30d42273bfa907dc06920c53fa3f303783e1e97.zip
op-kernel-dev-e30d42273bfa907dc06920c53fa3f303783e1e97.tar.gz
fix EMAC driver for proper napi_synchronize API
The EMAC driver "fix" was merged by mistake before the dust had settled on the new napi synchronize interface (and before it got merged). The final version of that function is spelled without underscores. Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org> Signed-off-by: Jeff Garzik <jeff@garzik.org>
-rw-r--r--drivers/net/ibm_newemac/mal.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ibm_newemac/mal.c b/drivers/net/ibm_newemac/mal.c
index a680eb0..9a88f71d 100644
--- a/drivers/net/ibm_newemac/mal.c
+++ b/drivers/net/ibm_newemac/mal.c
@@ -322,7 +322,7 @@ void mal_poll_disable(struct mal_instance *mal, struct mal_commac *commac)
msleep(1);
/* Synchronize with the MAL NAPI poller */
- __napi_synchronize(&mal->napi);
+ napi_synchronize(&mal->napi);
}
void mal_poll_enable(struct mal_instance *mal, struct mal_commac *commac)
OpenPOWER on IntegriCloud