projects
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge branch 'master' of git://git.infradead.org/users/dedekind/mtd-tests-2.6
[linux.git]
/
drivers
/
char
/
tb0219.c
diff --git
a/drivers/char/tb0219.c
b/drivers/char/tb0219.c
index 4c431cb7cf1b1f21f1c32389d738c005c0df7a9d..6062b62800fd2d97e01a640fedaf655983b6997d 100644
(file)
--- a/
drivers/char/tb0219.c
+++ b/
drivers/char/tb0219.c
@@
-21,6
+21,7
@@
#include <linux/fs.h>
#include <linux/init.h>
#include <linux/module.h>
+#include <linux/smp_lock.h>
#include <asm/io.h>
#include <asm/reboot.h>
@@
-236,6
+237,7
@@
static int tanbac_tb0219_open(struct inode *inode, struct file *file)
{
unsigned int minor;
+ cycle_kernel_lock();
minor = iminor(inode);
switch (minor) {
case 0:
This page took
0.032005 seconds
and
4
git commands to generate.