Commit 009228df authored by Arnd Bergmann's avatar Arnd Bergmann Committed by Jonathan Corbet

display7seg: BKL pushdown

Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
parent e73322ce
...@@ -94,6 +94,7 @@ static int d7s_open(struct inode *inode, struct file *f) ...@@ -94,6 +94,7 @@ static int d7s_open(struct inode *inode, struct file *f)
{ {
if (D7S_MINOR != iminor(inode)) if (D7S_MINOR != iminor(inode))
return -ENODEV; return -ENODEV;
cycle_kernel_lock();
atomic_inc(&d7s_users); atomic_inc(&d7s_users);
return 0; return 0;
} }
......
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