aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/usb/mon/mon_bin.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/drivers/usb/mon/mon_bin.c b/drivers/usb/mon/mon_bin.c
index f06e4e2b49d3..81aab527024c 100644
--- a/drivers/usb/mon/mon_bin.c
+++ b/drivers/usb/mon/mon_bin.c
@@ -1026,6 +1026,8 @@ mon_bin_poll(struct file *file, struct poll_table_struct *wait)
1026 return mask; 1026 return mask;
1027} 1027}
1028 1028
1029#if 0
1030
1029/* 1031/*
1030 * open and close: just keep track of how many times the device is 1032 * open and close: just keep track of how many times the device is
1031 * mapped, to use the proper memory allocation function. 1033 * mapped, to use the proper memory allocation function.
@@ -1079,7 +1081,9 @@ int mon_bin_mmap(struct file *filp, struct vm_area_struct *vma)
1079 return 0; 1081 return 0;
1080} 1082}
1081 1083
1082struct file_operations mon_fops_binary = { 1084#endif /* 0 */
1085
1086static struct file_operations mon_fops_binary = {
1083 .owner = THIS_MODULE, 1087 .owner = THIS_MODULE,
1084 .open = mon_bin_open, 1088 .open = mon_bin_open,
1085 .llseek = no_llseek, 1089 .llseek = no_llseek,