Skip to content

Commit

Permalink
Merge pull request #5 from rhulme/master
Browse files Browse the repository at this point in the history
Use dynamic allocation of major device number
  • Loading branch information
lcgamboa authored Jun 28, 2020
2 parents bc4afaa + de6d28f commit c52bba6
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 c52bba6

Please sign in to comment.