diff options
Diffstat (limited to 'drivers/bluetooth/btmrvl_debugfs.c')
| -rw-r--r-- | drivers/bluetooth/btmrvl_debugfs.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/drivers/bluetooth/btmrvl_debugfs.c b/drivers/bluetooth/btmrvl_debugfs.c index 54739b08c308..fd6305bf953e 100644 --- a/drivers/bluetooth/btmrvl_debugfs.c +++ b/drivers/bluetooth/btmrvl_debugfs.c | |||
| @@ -92,6 +92,7 @@ static const struct file_operations btmrvl_hscfgcmd_fops = { | |||
| 92 | .read = btmrvl_hscfgcmd_read, | 92 | .read = btmrvl_hscfgcmd_read, |
| 93 | .write = btmrvl_hscfgcmd_write, | 93 | .write = btmrvl_hscfgcmd_write, |
| 94 | .open = btmrvl_open_generic, | 94 | .open = btmrvl_open_generic, |
| 95 | .llseek = default_llseek, | ||
| 95 | }; | 96 | }; |
| 96 | 97 | ||
| 97 | static ssize_t btmrvl_psmode_write(struct file *file, const char __user *ubuf, | 98 | static ssize_t btmrvl_psmode_write(struct file *file, const char __user *ubuf, |
| @@ -130,6 +131,7 @@ static const struct file_operations btmrvl_psmode_fops = { | |||
| 130 | .read = btmrvl_psmode_read, | 131 | .read = btmrvl_psmode_read, |
| 131 | .write = btmrvl_psmode_write, | 132 | .write = btmrvl_psmode_write, |
| 132 | .open = btmrvl_open_generic, | 133 | .open = btmrvl_open_generic, |
| 134 | .llseek = default_llseek, | ||
| 133 | }; | 135 | }; |
| 134 | 136 | ||
| 135 | static ssize_t btmrvl_pscmd_write(struct file *file, const char __user *ubuf, | 137 | static ssize_t btmrvl_pscmd_write(struct file *file, const char __user *ubuf, |
| @@ -173,6 +175,7 @@ static const struct file_operations btmrvl_pscmd_fops = { | |||
| 173 | .read = btmrvl_pscmd_read, | 175 | .read = btmrvl_pscmd_read, |
| 174 | .write = btmrvl_pscmd_write, | 176 | .write = btmrvl_pscmd_write, |
| 175 | .open = btmrvl_open_generic, | 177 | .open = btmrvl_open_generic, |
| 178 | .llseek = default_llseek, | ||
| 176 | }; | 179 | }; |
| 177 | 180 | ||
| 178 | static ssize_t btmrvl_gpiogap_write(struct file *file, const char __user *ubuf, | 181 | static ssize_t btmrvl_gpiogap_write(struct file *file, const char __user *ubuf, |
| @@ -211,6 +214,7 @@ static const struct file_operations btmrvl_gpiogap_fops = { | |||
| 211 | .read = btmrvl_gpiogap_read, | 214 | .read = btmrvl_gpiogap_read, |
| 212 | .write = btmrvl_gpiogap_write, | 215 | .write = btmrvl_gpiogap_write, |
| 213 | .open = btmrvl_open_generic, | 216 | .open = btmrvl_open_generic, |
| 217 | .llseek = default_llseek, | ||
| 214 | }; | 218 | }; |
| 215 | 219 | ||
| 216 | static ssize_t btmrvl_hscmd_write(struct file *file, const char __user *ubuf, | 220 | static ssize_t btmrvl_hscmd_write(struct file *file, const char __user *ubuf, |
| @@ -252,6 +256,7 @@ static const struct file_operations btmrvl_hscmd_fops = { | |||
| 252 | .read = btmrvl_hscmd_read, | 256 | .read = btmrvl_hscmd_read, |
| 253 | .write = btmrvl_hscmd_write, | 257 | .write = btmrvl_hscmd_write, |
| 254 | .open = btmrvl_open_generic, | 258 | .open = btmrvl_open_generic, |
| 259 | .llseek = default_llseek, | ||
| 255 | }; | 260 | }; |
| 256 | 261 | ||
| 257 | static ssize_t btmrvl_hsmode_write(struct file *file, const char __user *ubuf, | 262 | static ssize_t btmrvl_hsmode_write(struct file *file, const char __user *ubuf, |
| @@ -289,6 +294,7 @@ static const struct file_operations btmrvl_hsmode_fops = { | |||
| 289 | .read = btmrvl_hsmode_read, | 294 | .read = btmrvl_hsmode_read, |
| 290 | .write = btmrvl_hsmode_write, | 295 | .write = btmrvl_hsmode_write, |
| 291 | .open = btmrvl_open_generic, | 296 | .open = btmrvl_open_generic, |
| 297 | .llseek = default_llseek, | ||
| 292 | }; | 298 | }; |
| 293 | 299 | ||
| 294 | static ssize_t btmrvl_curpsmode_read(struct file *file, char __user *userbuf, | 300 | static ssize_t btmrvl_curpsmode_read(struct file *file, char __user *userbuf, |
| @@ -306,6 +312,7 @@ static ssize_t btmrvl_curpsmode_read(struct file *file, char __user *userbuf, | |||
| 306 | static const struct file_operations btmrvl_curpsmode_fops = { | 312 | static const struct file_operations btmrvl_curpsmode_fops = { |
| 307 | .read = btmrvl_curpsmode_read, | 313 | .read = btmrvl_curpsmode_read, |
| 308 | .open = btmrvl_open_generic, | 314 | .open = btmrvl_open_generic, |
| 315 | .llseek = default_llseek, | ||
| 309 | }; | 316 | }; |
| 310 | 317 | ||
| 311 | static ssize_t btmrvl_psstate_read(struct file *file, char __user * userbuf, | 318 | static ssize_t btmrvl_psstate_read(struct file *file, char __user * userbuf, |
| @@ -323,6 +330,7 @@ static ssize_t btmrvl_psstate_read(struct file *file, char __user * userbuf, | |||
| 323 | static const struct file_operations btmrvl_psstate_fops = { | 330 | static const struct file_operations btmrvl_psstate_fops = { |
| 324 | .read = btmrvl_psstate_read, | 331 | .read = btmrvl_psstate_read, |
| 325 | .open = btmrvl_open_generic, | 332 | .open = btmrvl_open_generic, |
| 333 | .llseek = default_llseek, | ||
| 326 | }; | 334 | }; |
| 327 | 335 | ||
| 328 | static ssize_t btmrvl_hsstate_read(struct file *file, char __user *userbuf, | 336 | static ssize_t btmrvl_hsstate_read(struct file *file, char __user *userbuf, |
| @@ -340,6 +348,7 @@ static ssize_t btmrvl_hsstate_read(struct file *file, char __user *userbuf, | |||
| 340 | static const struct file_operations btmrvl_hsstate_fops = { | 348 | static const struct file_operations btmrvl_hsstate_fops = { |
| 341 | .read = btmrvl_hsstate_read, | 349 | .read = btmrvl_hsstate_read, |
| 342 | .open = btmrvl_open_generic, | 350 | .open = btmrvl_open_generic, |
| 351 | .llseek = default_llseek, | ||
| 343 | }; | 352 | }; |
| 344 | 353 | ||
| 345 | static ssize_t btmrvl_txdnldready_read(struct file *file, char __user *userbuf, | 354 | static ssize_t btmrvl_txdnldready_read(struct file *file, char __user *userbuf, |
| @@ -358,6 +367,7 @@ static ssize_t btmrvl_txdnldready_read(struct file *file, char __user *userbuf, | |||
| 358 | static const struct file_operations btmrvl_txdnldready_fops = { | 367 | static const struct file_operations btmrvl_txdnldready_fops = { |
| 359 | .read = btmrvl_txdnldready_read, | 368 | .read = btmrvl_txdnldready_read, |
| 360 | .open = btmrvl_open_generic, | 369 | .open = btmrvl_open_generic, |
| 370 | .llseek = default_llseek, | ||
| 361 | }; | 371 | }; |
| 362 | 372 | ||
| 363 | void btmrvl_debugfs_init(struct hci_dev *hdev) | 373 | void btmrvl_debugfs_init(struct hci_dev *hdev) |
