llseek: automatically add .llseek fop
[sfrench/cifs-2.6.git] / drivers / char / stallion.c
index f2167f8e5aab631acbf56cd91338bdd60644942e..8ef16490810c6abb92e17022ebc42c9e6e5d1025 100644 (file)
@@ -608,6 +608,7 @@ static unsigned int sc26198_baudtable[] = {
 static const struct file_operations    stl_fsiomem = {
        .owner          = THIS_MODULE,
        .unlocked_ioctl = stl_memioctl,
 static const struct file_operations    stl_fsiomem = {
        .owner          = THIS_MODULE,
        .unlocked_ioctl = stl_memioctl,
+       .llseek         = noop_llseek,
 };
 
 static struct class *stallion_class;
 };
 
 static struct class *stallion_class;