1
0
Fork 0

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
Zhou Peng 2018-07-10 18:39:08 +08:00 committed by Jason Liu
parent f14c444263
commit a57859f811
1 changed files with 1 additions and 1 deletions

View File

@ -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 {