|
@@ -92,6 +92,7 @@ static const struct file_operations btmrvl_hscfgcmd_fops = {
|
|
|
.read = btmrvl_hscfgcmd_read,
|
|
|
.write = btmrvl_hscfgcmd_write,
|
|
|
.open = btmrvl_open_generic,
|
|
|
+ .llseek = default_llseek,
|
|
|
};
|
|
|
|
|
|
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 = {
|
|
|
.read = btmrvl_psmode_read,
|
|
|
.write = btmrvl_psmode_write,
|
|
|
.open = btmrvl_open_generic,
|
|
|
+ .llseek = default_llseek,
|
|
|
};
|
|
|
|
|
|
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 = {
|
|
|
.read = btmrvl_pscmd_read,
|
|
|
.write = btmrvl_pscmd_write,
|
|
|
.open = btmrvl_open_generic,
|
|
|
+ .llseek = default_llseek,
|
|
|
};
|
|
|
|
|
|
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 = {
|
|
|
.read = btmrvl_gpiogap_read,
|
|
|
.write = btmrvl_gpiogap_write,
|
|
|
.open = btmrvl_open_generic,
|
|
|
+ .llseek = default_llseek,
|
|
|
};
|
|
|
|
|
|
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 = {
|
|
|
.read = btmrvl_hscmd_read,
|
|
|
.write = btmrvl_hscmd_write,
|
|
|
.open = btmrvl_open_generic,
|
|
|
+ .llseek = default_llseek,
|
|
|
};
|
|
|
|
|
|
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 = {
|
|
|
.read = btmrvl_hsmode_read,
|
|
|
.write = btmrvl_hsmode_write,
|
|
|
.open = btmrvl_open_generic,
|
|
|
+ .llseek = default_llseek,
|
|
|
};
|
|
|
|
|
|
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,
|
|
|
static const struct file_operations btmrvl_curpsmode_fops = {
|
|
|
.read = btmrvl_curpsmode_read,
|
|
|
.open = btmrvl_open_generic,
|
|
|
+ .llseek = default_llseek,
|
|
|
};
|
|
|
|
|
|
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,
|
|
|
static const struct file_operations btmrvl_psstate_fops = {
|
|
|
.read = btmrvl_psstate_read,
|
|
|
.open = btmrvl_open_generic,
|
|
|
+ .llseek = default_llseek,
|
|
|
};
|
|
|
|
|
|
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,
|
|
|
static const struct file_operations btmrvl_hsstate_fops = {
|
|
|
.read = btmrvl_hsstate_read,
|
|
|
.open = btmrvl_open_generic,
|
|
|
+ .llseek = default_llseek,
|
|
|
};
|
|
|
|
|
|
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,
|
|
|
static const struct file_operations btmrvl_txdnldready_fops = {
|
|
|
.read = btmrvl_txdnldready_read,
|
|
|
.open = btmrvl_open_generic,
|
|
|
+ .llseek = default_llseek,
|
|
|
};
|
|
|
|
|
|
void btmrvl_debugfs_init(struct hci_dev *hdev)
|