Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 220018
b: refs/heads/master
c: d16044c
h: refs/heads/master
v: v3
  • Loading branch information
Arnd Bergmann authored and Greg Kroah-Hartman committed Oct 5, 2010
1 parent b7f1893 commit 608a861
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 5 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: cff55f50b882b197a52c4cf0108a43c615d1fdba
refs/heads/master: d16044cf8ce0ff6384cd80eb0abaa2ba57b19a5e
5 changes: 5 additions & 0 deletions trunk/drivers/staging/bcm/Bcmchar.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
#include <linux/fs.h>

#include "headers.h"
/***************************************************************
* Function - bcm_char_open()
Expand Down Expand Up @@ -35,6 +37,8 @@ static int bcm_char_open(struct inode *inode, struct file * filp)

/*Start Queuing the control response Packets*/
atomic_inc(&Adapter->ApplicationRunning);

nonseekable_open(inode, filp);
return 0;
}
static int bcm_char_release(struct inode *inode, struct file *filp)
Expand Down Expand Up @@ -2360,6 +2364,7 @@ static struct file_operations bcm_fops = {
.release = bcm_char_release,
.read = bcm_char_read,
.unlocked_ioctl = bcm_char_ioctl,
.llseek = no_llseek,
};


Expand Down
1 change: 1 addition & 0 deletions trunk/drivers/staging/bcm/InterfaceInit.c
Original file line number Diff line number Diff line change
Expand Up @@ -163,6 +163,7 @@ static struct file_operations usbbcm_fops = {
.read = usbbcm_read,
.write = usbbcm_write,
.owner = THIS_MODULE,
.llseek = no_llseek,
};

static struct usb_class_driver usbbcm_class = {
Expand Down
10 changes: 6 additions & 4 deletions trunk/drivers/staging/ft1000/ft1000-usb/ft1000_chdev.c
Original file line number Diff line number Diff line change
Expand Up @@ -81,10 +81,11 @@ int numofmsgbuf = 0;
//
static struct file_operations ft1000fops =
{
unlocked_ioctl: ft1000_ChIoctl,
poll: ft1000_ChPoll,
open: ft1000_ChOpen,
release: ft1000_ChRelease
.unlocked_ioctl = ft1000_ChIoctl,
.poll = ft1000_ChPoll,
.open = ft1000_ChOpen,
.release = ft1000_ChRelease,
.llseek = no_llseek,
};


Expand Down Expand Up @@ -470,6 +471,7 @@ static int ft1000_ChOpen (struct inode *Inode, struct file *File)

File->private_data = pdevobj[num]->net;

nonseekable_open(Inode, File);
return 0;
}

Expand Down

0 comments on commit 608a861

Please sign in to comment.