diff options
Diffstat (limited to 'net/mac80211/debugfs_key.c')
-rw-r--r-- | net/mac80211/debugfs_key.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/net/mac80211/debugfs_key.c b/net/mac80211/debugfs_key.c index fa5e76e658ef..7cd8dd9fc240 100644 --- a/net/mac80211/debugfs_key.c +++ b/net/mac80211/debugfs_key.c | |||
@@ -32,6 +32,7 @@ static ssize_t key_##name##_read(struct file *file, \ | |||
32 | static const struct file_operations key_ ##name## _ops = { \ | 32 | static const struct file_operations key_ ##name## _ops = { \ |
33 | .read = key_##name##_read, \ | 33 | .read = key_##name##_read, \ |
34 | .open = mac80211_open_file_generic, \ | 34 | .open = mac80211_open_file_generic, \ |
35 | .llseek = generic_file_llseek, \ | ||
35 | } | 36 | } |
36 | 37 | ||
37 | #define KEY_FILE(name, format) \ | 38 | #define KEY_FILE(name, format) \ |
@@ -46,6 +47,7 @@ static const struct file_operations key_ ##name## _ops = { \ | |||
46 | static const struct file_operations key_ ##name## _ops = { \ | 47 | static const struct file_operations key_ ##name## _ops = { \ |
47 | .read = key_conf_##name##_read, \ | 48 | .read = key_conf_##name##_read, \ |
48 | .open = mac80211_open_file_generic, \ | 49 | .open = mac80211_open_file_generic, \ |
50 | .llseek = generic_file_llseek, \ | ||
49 | } | 51 | } |
50 | 52 | ||
51 | #define KEY_CONF_FILE(name, format) \ | 53 | #define KEY_CONF_FILE(name, format) \ |