]> bbs.cooldavid.org Git - net-next-2.6.git/blobdiff - drivers/net/caif/caif_spi.c
llseek: automatically add .llseek fop
[net-next-2.6.git] / drivers / net / caif / caif_spi.c
index f5058ff2b210da07dd1411bdd8a12f1dafe9ddb2..8427533fe313c35cb38727e533cd77dd35cdb4af 100644 (file)
@@ -240,13 +240,15 @@ static ssize_t dbgfs_frame(struct file *file, char __user *user_buf,
 static const struct file_operations dbgfs_state_fops = {
        .open = dbgfs_open,
        .read = dbgfs_state,
-       .owner = THIS_MODULE
+       .owner = THIS_MODULE,
+       .llseek = default_llseek,
 };
 
 static const struct file_operations dbgfs_frame_fops = {
        .open = dbgfs_open,
        .read = dbgfs_frame,
-       .owner = THIS_MODULE
+       .owner = THIS_MODULE,
+       .llseek = default_llseek,
 };
 
 static inline void dev_debugfs_add(struct cfspi *cfspi)