Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 13381
b: refs/heads/master
c: 86bb4a2
h: refs/heads/master
i:
  13379: f0a4e50
v: v3
  • Loading branch information
Markus Rechberger authored and Linus Torvalds committed Nov 9, 2005
1 parent 87e4643 commit 406d27e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 13 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: 9c75541fc97252e605b7bc8f9b09f816483e22fb
refs/heads/master: 86bb4a215d152111f20daeb2a530f064afee8542
14 changes: 2 additions & 12 deletions trunk/drivers/media/video/em28xx/em28xx-video.c
Original file line number Diff line number Diff line change
Expand Up @@ -357,20 +357,10 @@ static void em2820_release_resources(struct em2820 *dev)
* em2820_v4l2_close()
* stops streaming and deallocates all resources allocated by the v4l2 calls and ioctls
*/
static int em2820_v4l2_close(struct inode *inode, struct file *file)
static int em2820_v4l2_close(struct inode *inode, struct file *filp)
{
int errCode;
int minor = iminor(inode);
struct em2820 *h,*dev = NULL;
struct list_head *list;

list_for_each(list,&em2820_devlist) {
h = list_entry(list, struct em2820, devlist);
if (h->vdev->minor == minor) {
dev = h;
}
}

struct em2820 *dev=filp->private_data;

em2820_videodbg("users=%d", dev->users);

Expand Down

0 comments on commit 406d27e

Please sign in to comment.