Commit 65b9e49f authored by Alan Cox's avatar Alan Cox Committed by Linus Torvalds

[PATCH] unbreak the acquirewdt

This puts back a MOD_INC_USE which leaves a warning but means that the
driver doesnt now load/unload and disable the watchdog on a close
parent 48f4549d
......@@ -141,6 +141,8 @@ static int acq_open(struct inode *inode, struct file *file)
spin_unlock(&acq_lock);
return -EBUSY;
}
if (nowayout)
MOD_INC_USE_COUNT;
/* Activate */
acq_is_open=1;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment