Don't explicitly initialize d_maj in the cdevsw with MAJOR_AUTO, as
per the intentions of conf.h, rev 1.176. This change is a no-op as MAJOR_AUTO equals to 0.
This commit is contained in:
parent
bec725403c
commit
6dcf0a53d2
@ -74,7 +74,6 @@ static struct cdevsw uart_cdevsw = {
|
||||
.d_ioctl = uart_tty_ioctl,
|
||||
.d_poll = ttypoll,
|
||||
.d_name = uart_driver_name,
|
||||
.d_maj = MAJOR_AUTO,
|
||||
.d_flags = D_TTY,
|
||||
.d_kqfilter = ttykqfilter,
|
||||
};
|
||||
|
Loading…
x
Reference in New Issue
Block a user