cxgb4: Add llseek operation for flash debugfs entry
authorHariprasad Shenai <hariprasad@chelsio.com>
Tue, 26 Apr 2016 14:40:23 +0000 (20:10 +0530)
committerDavid S. Miller <davem@davemloft.net>
Tue, 26 Apr 2016 17:23:56 +0000 (13:23 -0400)
Signed-off-by: Hariprasad Shenai <hariprasad@chelsio.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c

index 0bb41e9..9506c5c 100644 (file)
@@ -1572,6 +1572,7 @@ static const struct file_operations flash_debugfs_fops = {
        .owner   = THIS_MODULE,
        .open    = mem_open,
        .read    = flash_read,
+       .llseek  = default_llseek,
 };
 
 static inline void tcamxy2valmask(u64 x, u64 y, u8 *addr, u64 *mask)