diff options
Diffstat (limited to 'drivers/i2c')
-rw-r--r-- | drivers/i2c/chips/tps65010.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/i2c/chips/tps65010.c b/drivers/i2c/chips/tps65010.c index 0be6fd6a267d..6a7578217177 100644 --- a/drivers/i2c/chips/tps65010.c +++ b/drivers/i2c/chips/tps65010.c | |||
@@ -305,7 +305,7 @@ static int dbg_show(struct seq_file *s, void *_) | |||
305 | 305 | ||
306 | static int dbg_tps_open(struct inode *inode, struct file *file) | 306 | static int dbg_tps_open(struct inode *inode, struct file *file) |
307 | { | 307 | { |
308 | return single_open(file, dbg_show, inode->u.generic_ip); | 308 | return single_open(file, dbg_show, inode->i_private); |
309 | } | 309 | } |
310 | 310 | ||
311 | static struct file_operations debug_fops = { | 311 | static struct file_operations debug_fops = { |