Преглед на файлове

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>
Benjamin Herrenschmidt преди 17 години
родител
ревизия
e30d42273b
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      drivers/net/ibm_newemac/mal.c

+ 1 - 1
drivers/net/ibm_newemac/mal.c

@@ -322,7 +322,7 @@ void mal_poll_disable(struct mal_instance *mal, struct mal_commac *commac)
 		msleep(1);
 		msleep(1);
 
 
 	/* Synchronize with the MAL NAPI poller */
 	/* 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)
 void mal_poll_enable(struct mal_instance *mal, struct mal_commac *commac)