Skip to content

Commit

Permalink
Use dynamic allocation of major device number
Browse files Browse the repository at this point in the history
  • Loading branch information
rhulme committed Jun 28, 2020
1 parent bc4afaa commit de6d28f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion module/tty0tty.c
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ MODULE_DESCRIPTION( DRIVER_DESC );
MODULE_LICENSE("GPL");


#define TTY0TTY_MAJOR 240 /* experimental range */
#define TTY0TTY_MAJOR 0 /* dynamic allocation of major number */
#define TTY0TTY_MINORS 8 /* device number, always even*/

/* fake UART values */
Expand Down

0 comments on commit de6d28f

Please sign in to comment.