display7seg: BKL pushdown
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
This commit is contained in:
parent
e73322ceef
commit
009228dfb6
1 changed files with 1 additions and 0 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue