aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/sbus
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2008-05-20 19:15:47 +0200
committerJonathan Corbet <corbet@lwn.net>2008-06-20 14:05:55 -0600
commit009228dfb641ca7e4315ab0d0d55465747331025 (patch)
treebea9d7378b4f4f80a7eb8f8edca55704d3d11172 /drivers/sbus
parente73322ceefb2a777dc0ef369a2504bf5c42b8c52 (diff)
downloadkernel_samsung_aries-009228dfb641ca7e4315ab0d0d55465747331025.zip
kernel_samsung_aries-009228dfb641ca7e4315ab0d0d55465747331025.tar.gz
kernel_samsung_aries-009228dfb641ca7e4315ab0d0d55465747331025.tar.bz2
display7seg: BKL pushdown
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to 'drivers/sbus')
-rw-r--r--drivers/sbus/char/display7seg.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/sbus/char/display7seg.c b/drivers/sbus/char/display7seg.c
index 3279a1b..d8f5c0c 100644
--- a/drivers/sbus/char/display7seg.c
+++ b/drivers/sbus/char/display7seg.c
@@ -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;
}