Merge branch 'llseek' of git://git.kernel.org/pub/scm/linux/kernel/git/arnd/bkl
[linux-2.6.git] / drivers / char / raw.c
index 24b2b91..bfe25ea 100644 (file)
@@ -292,6 +292,7 @@ static const struct file_operations raw_fops = {
        .open           = raw_open,
        .release        = raw_release,
        .unlocked_ioctl = raw_ioctl,
+       .llseek         = default_llseek,
        .owner          = THIS_MODULE,
 };
 
@@ -302,6 +303,7 @@ static const struct file_operations raw_ctl_fops = {
 #endif
        .open           = raw_open,
        .owner          = THIS_MODULE,
+       .llseek         = noop_llseek,
 };
 
 static struct cdev raw_cdev;