diff options
Diffstat (limited to 'drivers/usb/host/isp116x-hcd.c')
-rw-r--r-- | drivers/usb/host/isp116x-hcd.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/usb/host/isp116x-hcd.c b/drivers/usb/host/isp116x-hcd.c index 5147ed4a6662..a72e041df8e7 100644 --- a/drivers/usb/host/isp116x-hcd.c +++ b/drivers/usb/host/isp116x-hcd.c | |||
@@ -1204,10 +1204,10 @@ static int isp116x_show_dbg(struct seq_file *s, void *unused) | |||
1204 | 1204 | ||
1205 | static int isp116x_open_seq(struct inode *inode, struct file *file) | 1205 | static int isp116x_open_seq(struct inode *inode, struct file *file) |
1206 | { | 1206 | { |
1207 | return single_open(file, isp116x_show_dbg, inode->u.generic_ip); | 1207 | return single_open(file, isp116x_show_dbg, inode->i_private); |
1208 | } | 1208 | } |
1209 | 1209 | ||
1210 | static struct file_operations isp116x_debug_fops = { | 1210 | static const struct file_operations isp116x_debug_fops = { |
1211 | .open = isp116x_open_seq, | 1211 | .open = isp116x_open_seq, |
1212 | .read = seq_read, | 1212 | .read = seq_read, |
1213 | .llseek = seq_lseek, | 1213 | .llseek = seq_lseek, |