Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 228384
b: refs/heads/master
c: 91cda63
h: refs/heads/master
v: v3
  • Loading branch information
Marek Belisko authored and Greg Kroah-Hartman committed Dec 16, 2010
1 parent ac36618 commit 4183621
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 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: 0ce72ea3b2f29e5755b095a5b217b9bab8386a03
refs/heads/master: 91cda632ebc6ea84fd7a45efb6d4452c34985731
8 changes: 3 additions & 5 deletions trunk/drivers/staging/ft1000/ft1000-usb/ft1000_debug.c
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ int ft1000_create_dev(struct ft1000_device *dev)
}

file = debugfs_create_file("device", S_IRUGO | S_IWUSR, dir,
NULL, &ft1000fops);
dev, &ft1000fops);
if (IS_ERR(file)) {
result = PTR_ERR(file);
goto debug_file_fail;
Expand Down Expand Up @@ -398,7 +398,6 @@ static long ft1000_ioctl (struct file *file, unsigned int command,
unsigned long argument)
{
void __user *argp = (void __user *)argument;
struct net_device *dev;
struct ft1000_info *info;
struct ft1000_device *ft1000dev;
int result=0;
Expand Down Expand Up @@ -428,9 +427,8 @@ static long ft1000_ioctl (struct file *file, unsigned int command,

//DEBUG("FT1000:ft1000_ioctl:command = 0x%x argument = 0x%8x\n", command, (u32)argument);

dev = file->private_data;
info = netdev_priv(dev);
ft1000dev = info->pFt1000Dev;
info = file->private_data;
ft1000dev = info->pFt1000Dev;
cmd = _IOC_NR(command);
//DEBUG("FT1000:ft1000_ioctl:cmd = 0x%x\n", cmd);

Expand Down

0 comments on commit 4183621

Please sign in to comment.