diff options
Diffstat (limited to 'zaptel.c')
-rwxr-xr-x | zaptel.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -2156,7 +2156,7 @@ static void zt_free_pseudo(struct zt_chan *pseudo) } } -static int __zt_open(struct inode *inode, struct file *file) +static int zt_open(struct inode *inode, struct file *file) { int unit = UNIT(file); struct zt_chan *chan; @@ -2187,6 +2187,7 @@ static int __zt_open(struct inode *inode, struct file *file) return zt_specchan_open(inode, file, unit, 1); } +#if 0 static int zt_open(struct inode *inode, struct file *file) { int res; @@ -2196,6 +2197,7 @@ static int zt_open(struct inode *inode, struct file *file) spin_unlock_irqrestore(&bigzaplock, flags); return res; } +#endif static ssize_t zt_read(struct file *file, char *usrbuf, size_t count, loff_t *ppos) { |