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 0bb41e9b9b1ca97e31937e6c19b05c190d6faba2..9506c5cd11b919c3578cb9f7d0fc70a6871ce68a 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)