MLK-18841 - [i.MX8MQ/Hantro]: update default major number
In the latest kernel, default major number '-1' will lead to probe failure Need to set default value '0' for dynamic major. Signed-off-by: Zhou Peng <eagle.zhou@nxp.com> (cherry picked from commit a58b2107b61436414b965740a1c7167b619e1b17)pull/10/head
parent
f14c444263
commit
a57859f811
|
@ -159,7 +159,7 @@ MODULE_PARM_DESC(hantro_dbg, "Debug level (0-1)");
|
|||
} while (0)
|
||||
|
||||
|
||||
static int hantrodec_major = -1; /* dynamic allocation */
|
||||
static int hantrodec_major; /* dynamic allocation */
|
||||
|
||||
/* here's all the must remember stuff */
|
||||
typedef struct {
|
||||
|
|
Loading…
Reference in New Issue