diff options
author | Steve Wise <swise@opengridcomputing.com> | 2010-09-29 10:11:12 -0400 |
---|---|---|
committer | Roland Dreier <rolandd@cisco.com> | 2010-10-11 23:14:00 -0400 |
commit | 8bbac892fb75d20fa274ca026e24faf00afbf9dd (patch) | |
tree | 082c5558788796ed31c248b39e99e5b82b111afe /drivers/infiniband | |
parent | 40dbf6ee381008e471d3c4a332971247b7799744 (diff) |
RDMA/cxgb4: Add default_llseek to debugfs files
Incorporate BKL removal changes.
Signed-off-by: Steve Wise <swise@opengridcomputing.com>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
Diffstat (limited to 'drivers/infiniband')
-rw-r--r-- | drivers/infiniband/hw/cxgb4/device.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/infiniband/hw/cxgb4/device.c b/drivers/infiniband/hw/cxgb4/device.c index 986cfd76502c..b25435736d44 100644 --- a/drivers/infiniband/hw/cxgb4/device.c +++ b/drivers/infiniband/hw/cxgb4/device.c | |||
@@ -182,6 +182,7 @@ static const struct file_operations qp_debugfs_fops = { | |||
182 | .open = qp_open, | 182 | .open = qp_open, |
183 | .release = qp_release, | 183 | .release = qp_release, |
184 | .read = debugfs_read, | 184 | .read = debugfs_read, |
185 | .llseek = default_llseek, | ||
185 | }; | 186 | }; |
186 | 187 | ||
187 | static int dump_stag(int id, void *p, void *data) | 188 | static int dump_stag(int id, void *p, void *data) |
@@ -255,6 +256,7 @@ static const struct file_operations stag_debugfs_fops = { | |||
255 | .open = stag_open, | 256 | .open = stag_open, |
256 | .release = stag_release, | 257 | .release = stag_release, |
257 | .read = debugfs_read, | 258 | .read = debugfs_read, |
259 | .llseek = default_llseek, | ||
258 | }; | 260 | }; |
259 | 261 | ||
260 | static int setup_debugfs(struct c4iw_dev *devp) | 262 | static int setup_debugfs(struct c4iw_dev *devp) |