]> git.karo-electronics.de Git - mv-sheeva.git/blobdiff - drivers/uwb/whc-rc.c
Merge branch 'hwmon-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jdelv...
[mv-sheeva.git] / drivers / uwb / whc-rc.c
index 19a1dd1292125b644e4728e8f677f3510bff8281..01950c62dc8dd4ca58e1e4e0700f5e9b51771dc7 100644 (file)
@@ -42,6 +42,7 @@
 #include <linux/init.h>
 #include <linux/module.h>
 #include <linux/pci.h>
+#include <linux/sched.h>
 #include <linux/dma-mapping.h>
 #include <linux/interrupt.h>
 #include <linux/workqueue.h>
@@ -443,8 +444,7 @@ static int whcrc_post_reset(struct umc_dev *umc)
        struct whcrc *whcrc = umc_get_drvdata(umc);
        struct uwb_rc *uwb_rc = whcrc->uwb_rc;
 
-       uwb_rc_post_reset(uwb_rc);
-       return 0;
+       return uwb_rc_post_reset(uwb_rc);
 }
 
 /* PCI device ID's that we handle [so it gets loaded] */