aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/core/file.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/usb/core/file.c')
-rw-r--r--drivers/usb/core/file.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/usb/core/file.c b/drivers/usb/core/file.c
index 80ce9644d0ee..38ed2220c9fc 100644
--- a/drivers/usb/core/file.c
+++ b/drivers/usb/core/file.c
@@ -28,6 +28,8 @@
28#endif 28#endif
29#include <linux/usb.h> 29#include <linux/usb.h>
30 30
31#include "usb.h"
32
31#define MAX_USB_MINORS 256 33#define MAX_USB_MINORS 256
32static struct file_operations *usb_minors[MAX_USB_MINORS]; 34static struct file_operations *usb_minors[MAX_USB_MINORS];
33static DEFINE_SPINLOCK(minor_lock); 35static DEFINE_SPINLOCK(minor_lock);