X-Git-Url: http://pilppa.org/gitweb/?a=blobdiff_plain;f=drivers%2Fchar%2Ftb0219.c;h=6062b62800fd2d97e01a640fedaf655983b6997d;hb=9ba8aa7a94c5f3f5ac41ba39be5b1abf1688565e;hp=4c431cb7cf1b1f21f1c32389d738c005c0df7a9d;hpb=9cdf083f981b8d37b3212400a359368661385099;p=linux-2.6-omap-h63xx.git diff --git a/drivers/char/tb0219.c b/drivers/char/tb0219.c index 4c431cb7cf1..6062b62800f 100644 --- a/drivers/char/tb0219.c +++ b/drivers/char/tb0219.c @@ -21,6 +21,7 @@ #include #include #include +#include #include #include @@ -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: