]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commitdiff
fix EMAC driver for proper napi_synchronize API
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>
Wed, 17 Oct 2007 23:14:03 +0000 (09:14 +1000)
committerJeff Garzik <jeff@garzik.org>
Thu, 18 Oct 2007 00:17:34 +0000 (20:17 -0400)
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>
drivers/net/ibm_newemac/mal.c

index a680eb05ba60149fe7fa7dc870d16885758abddf..9a88f71db004ee0e328027e4bd5864271a4050a8 100644 (file)
@@ -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)