diff options
Diffstat (limited to 'include/linux/brlvger.h')
| -rw-r--r-- | include/linux/brlvger.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/include/linux/brlvger.h b/include/linux/brlvger.h index 995f7b96e0d8..2a9b77ba4c1e 100644 --- a/include/linux/brlvger.h +++ b/include/linux/brlvger.h @@ -30,11 +30,16 @@ #define BRLVGER_DISPLAY_OFF 3 #define BRLVGER_BUZZ 4 +#ifdef CONFIG_USB_DYNAMIC_MINORS +#define MAX_NR_BRLVGER_DEVS 256 +#define BRLVGER_MINOR 0 +#else /* Number of supported devices, and range of covered minors */ -#define MAX_NR_BRLVGER_DEVS 2 +#define MAX_NR_BRLVGER_DEVS 4 /* Base minor for the char devices */ #define BRLVGER_MINOR 128 +#endif /* Size of some fields */ #define BRLVGER_HWVER_SIZE 2 |
