]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/blobdiff - arch/cris/arch-v32/drivers/sync_serial.c
llseek: automatically add .llseek fop
[mirror_ubuntu-zesty-kernel.git] / arch / cris / arch-v32 / drivers / sync_serial.c
index ca248f3adb800e26403d591b9c72c8cae0c200fa..a2e8a8c39856edc1b56d58915893780d69a1fd2c 100644 (file)
@@ -247,7 +247,8 @@ static const struct file_operations sync_serial_fops = {
        .poll           = sync_serial_poll,
        .unlocked_ioctl = sync_serial_ioctl,
        .open           = sync_serial_open,
-       .release        = sync_serial_release
+       .release        = sync_serial_release,
+       .llseek         = noop_llseek,
 };
 
 static int __init etrax_sync_serial_init(void)