diff options
Diffstat (limited to 'drivers/isdn/capi/capi.c')
-rw-r--r-- | drivers/isdn/capi/capi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/isdn/capi/capi.c b/drivers/isdn/capi/capi.c index 11844bbfe933..787a630a8e56 100644 --- a/drivers/isdn/capi/capi.c +++ b/drivers/isdn/capi/capi.c | |||
@@ -1010,7 +1010,7 @@ static int capinc_tty_open(struct tty_struct * tty, struct file * file) | |||
1010 | { | 1010 | { |
1011 | struct capiminor *mp; | 1011 | struct capiminor *mp; |
1012 | 1012 | ||
1013 | if ((mp = capiminor_find(iminor(file->f_dentry->d_inode))) == 0) | 1013 | if ((mp = capiminor_find(iminor(file->f_path.dentry->d_inode))) == 0) |
1014 | return -ENXIO; | 1014 | return -ENXIO; |
1015 | if (mp->nccip == 0) | 1015 | if (mp->nccip == 0) |
1016 | return -ENXIO; | 1016 | return -ENXIO; |