patch-2_6_7-vs1_9_1_12
[linux-2.6.git] / arch / um / drivers / harddog_kern.c
index 2a4c8cf..e3f3cdd 100644 (file)
@@ -71,7 +71,7 @@ static int harddog_open(struct inode *inode, struct file *file)
        if(timer_alive)
                return -EBUSY;
 #ifdef CONFIG_HARDDOG_NOWAYOUT  
-       MOD_INC_USE_COUNT;
+       __module_get(THIS_MODULE);
 #endif
 
 #ifdef CONFIG_MCONSOLE