提交 009228df 编写于 作者: A Arnd Bergmann 提交者: Jonathan Corbet

display7seg: BKL pushdown

Signed-off-by: NArnd Bergmann <arnd@arndb.de>
上级 e73322ce
......@@ -94,6 +94,7 @@ static int d7s_open(struct inode *inode, struct file *f)
{
if (D7S_MINOR != iminor(inode))
return -ENODEV;
cycle_kernel_lock();
atomic_inc(&d7s_users);
return 0;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册