summaryrefslogtreecommitdiff
path: root/drivers/bluetooth
diff options
context:
space:
mode:
authorNagarjuna Kristam <nkristam@nvidia.com>2013-10-08 16:41:45 +0530
committerBitan Biswas <bbiswas@nvidia.com>2013-10-23 00:48:00 -0700
commita2408edd2d92aa600c4221be4fb2f3c5b048cfdf (patch)
treef18cf46dad9728ca5b7238bd01072f4cf670a78f /drivers/bluetooth
parent85866ecb0de6944a4e6fac09984b118cc964f19b (diff)
Revert "net: wireless: Update SD8797 driver for 3.10"
This reverts commit f5bb3cb28aa8ed6a671248fc7f29dba2f49b5b12. Latest Marvell drivers fixes 3.10 specific build issues. Bug 1375751 Change-Id: Id2874d46fff6aaa4762bac857f423680724151a1 Signed-off-by: Nagarjuna Kristam <nkristam@nvidia.com> Reviewed-on: http://git-master/r/282709 Reviewed-by: Venu Byravarasu <vbyravarasu@nvidia.com>
Diffstat (limited to 'drivers/bluetooth')
-rw-r--r--drivers/bluetooth/sd8797/bt/bt_proc.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/drivers/bluetooth/sd8797/bt/bt_proc.c b/drivers/bluetooth/sd8797/bt/bt_proc.c
index 315598540f58..08ebd6522397 100644
--- a/drivers/bluetooth/sd8797/bt/bt_proc.c
+++ b/drivers/bluetooth/sd8797/bt/bt_proc.c
@@ -348,7 +348,8 @@ proc_write(struct file *file,
static void
proc_on_close(struct inode *inode, struct file *file)
{
- struct proc_private_data *priv = PDE_DATA(inode);
+ struct proc_dir_entry *entry = PDE(inode);
+ struct proc_private_data *priv = entry->data;
struct proc_data *pdata = file->private_data;
char *line;
int i;
@@ -397,7 +398,8 @@ proc_on_close(struct inode *inode, struct file *file)
static int
proc_open(struct inode *inode, struct file *file)
{
- struct proc_private_data *priv = PDE_DATA(inode);
+ struct proc_dir_entry *entry = PDE(inode);
+ struct proc_private_data *priv = entry->data;
struct proc_data *pdata;
int i;
char *p;