aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/isdn/hysdn/hysdn_proclog.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/isdn/hysdn/hysdn_proclog.c')
-rw-r--r--drivers/isdn/hysdn/hysdn_proclog.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/isdn/hysdn/hysdn_proclog.c b/drivers/isdn/hysdn/hysdn_proclog.c
index 88e4f0ee073c..9a3ce93665c5 100644
--- a/drivers/isdn/hysdn/hysdn_proclog.c
+++ b/drivers/isdn/hysdn/hysdn_proclog.c
@@ -173,7 +173,7 @@ hysdn_log_read(struct file *file, char __user *buf, size_t count, loff_t *off)
173{ 173{
174 struct log_data *inf; 174 struct log_data *inf;
175 int len; 175 int len;
176 struct proc_dir_entry *pde = PDE(file->f_path.dentry->d_inode); 176 struct proc_dir_entry *pde = PDE(file_inode(file));
177 struct procdata *pd = NULL; 177 struct procdata *pd = NULL;
178 hysdn_card *card; 178 hysdn_card *card;
179 179
@@ -319,7 +319,7 @@ static unsigned int
319hysdn_log_poll(struct file *file, poll_table *wait) 319hysdn_log_poll(struct file *file, poll_table *wait)
320{ 320{
321 unsigned int mask = 0; 321 unsigned int mask = 0;
322 struct proc_dir_entry *pde = PDE(file->f_path.dentry->d_inode); 322 struct proc_dir_entry *pde = PDE(file_inode(file));
323 hysdn_card *card; 323 hysdn_card *card;
324 struct procdata *pd = NULL; 324 struct procdata *pd = NULL;
325 325