misc: Increase dynamic number space
We've exhausted all of the 64 dynamic minor numbers in misc devices. Ideally, we shouldn't be using so many misc devices. We should be using cdev directly instead. Increase the number for now so that kernel drivers don't fail to probe. Change-Id: I514f4acc7d27b68005ec7f0a8d4ab3c0906b36ff Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
This commit is contained in:
parent
7f89d09b40
commit
6d420d7018
1 changed files with 1 additions and 1 deletions
|
@ -59,7 +59,7 @@ static DEFINE_MUTEX(misc_mtx);
|
|||
/*
|
||||
* Assigned numbers, used for dynamic minors
|
||||
*/
|
||||
#define DYNAMIC_MINORS 64 /* like dynamic majors */
|
||||
#define DYNAMIC_MINORS 96 /* like dynamic majors */
|
||||
static DECLARE_BITMAP(misc_minors, DYNAMIC_MINORS);
|
||||
|
||||
#ifdef CONFIG_PROC_FS
|
||||
|
|
Loading…
Add table
Reference in a new issue