forked from rubenslte/android_kernel_samsung_msm8226
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:
+1
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user