diff options
Diffstat (limited to 'drivers/isdn')
-rw-r--r-- | drivers/isdn/divert/divert_procfs.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/isdn/divert/divert_procfs.c b/drivers/isdn/divert/divert_procfs.c index be77ee625bb7..559a0d0244cf 100644 --- a/drivers/isdn/divert/divert_procfs.c +++ b/drivers/isdn/divert/divert_procfs.c | |||
@@ -70,6 +70,8 @@ put_info_buffer(char *cp) | |||
70 | wake_up_interruptible(&(rd_queue)); | 70 | wake_up_interruptible(&(rd_queue)); |
71 | } /* put_info_buffer */ | 71 | } /* put_info_buffer */ |
72 | 72 | ||
73 | #ifdef CONFIG_PROC_FS | ||
74 | |||
73 | /**********************************/ | 75 | /**********************************/ |
74 | /* deflection device read routine */ | 76 | /* deflection device read routine */ |
75 | /**********************************/ | 77 | /**********************************/ |
@@ -253,8 +255,6 @@ isdn_divert_ioctl(struct inode *inode, struct file *file, | |||
253 | return copy_to_user((void __user *)arg, &dioctl, sizeof(dioctl)) ? -EFAULT : 0; | 255 | return copy_to_user((void __user *)arg, &dioctl, sizeof(dioctl)) ? -EFAULT : 0; |
254 | } /* isdn_divert_ioctl */ | 256 | } /* isdn_divert_ioctl */ |
255 | 257 | ||
256 | |||
257 | #ifdef CONFIG_PROC_FS | ||
258 | static const struct file_operations isdn_fops = | 258 | static const struct file_operations isdn_fops = |
259 | { | 259 | { |
260 | .owner = THIS_MODULE, | 260 | .owner = THIS_MODULE, |