llseek: automatically add .llseek fop
[GitHub/mt8127/android_kernel_alcatel_ttab.git] / drivers / uio / uio.c
index bff1afbde5a4b0ad01d0314b1661d43c972c3d84..4d3a6fd1a152901a91f45d3f64e72e3b080e3ad3 100644 (file)
@@ -740,6 +740,7 @@ static const struct file_operations uio_fops = {
        .mmap           = uio_mmap,
        .poll           = uio_poll,
        .fasync         = uio_fasync,
+       .llseek         = noop_llseek,
 };
 
 static int uio_major_init(void)