]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/net/usb/kaweth.c
Merge branch 'eseries' into pxa
[linux-2.6-omap-h63xx.git] / drivers / net / usb / kaweth.c
index 569ad8bfd3833448aec6625f0b1bd87a6441d1a9..7c66b052f55a72725714ed447f6a9a934780f73f 100644 (file)
@@ -58,7 +58,6 @@
 #include <linux/dma-mapping.h>
 #include <linux/wait.h>
 #include <asm/uaccess.h>
-#include <asm/semaphore.h>
 #include <asm/byteorder.h>
 
 #undef DEBUG
@@ -707,7 +706,7 @@ static void kaweth_kill_urbs(struct kaweth_device *kaweth)
        usb_kill_urb(kaweth->rx_urb);
        usb_kill_urb(kaweth->tx_urb);
 
-       flush_scheduled_work();
+       cancel_delayed_work_sync(&kaweth->lowmem_work);
 
        /* a scheduled work may have resubmitted,
           we hit them again */