]> err.no Git - linux-2.6/blobdiff - drivers/watchdog/geodewdt.c
[WATCHDOG] mpc8xxx_wdt: various renames, mostly s/mpc83xx/mpc8xxx/g
[linux-2.6] / drivers / watchdog / geodewdt.c
index f85b19625f9719c3e59ceb48aeb5b571fb28cc93..a41f57ce581ae29e2b69f91fcd1ddd1cfa46a49a 100644 (file)
@@ -17,8 +17,8 @@
 #include <linux/fs.h>
 #include <linux/platform_device.h>
 #include <linux/reboot.h>
+#include <linux/uaccess.h>
 
-#include <asm/uaccess.h>
 #include <asm/geode.h>
 
 #define GEODEWDT_HZ 500
@@ -221,8 +221,7 @@ geodewdt_probe(struct platform_device *dev)
 {
        int ret, timer;
 
-       timer = geode_mfgpt_alloc_timer(MFGPT_TIMER_ANY,
-                                       MFGPT_DOMAIN_WORKING, THIS_MODULE);
+       timer = geode_mfgpt_alloc_timer(MFGPT_TIMER_ANY, MFGPT_DOMAIN_WORKING);
 
        if (timer == -1) {
                printk(KERN_ERR "geodewdt:  No timers were available\n");