diff options
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/brlvger.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/linux/brlvger.h b/include/linux/brlvger.h index eb5ef8c3da37..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 4 /* Base minor for the char devices */ #define BRLVGER_MINOR 128 +#endif /* Size of some fields */ #define BRLVGER_HWVER_SIZE 2 |
