diff -pNaru5 snx_V2.0.5.0.orig-0000/driver/snx_main.c snx_V2.0.5.0/driver/snx_main.c --- snx_V2.0.5.0.orig-0000/driver/snx_main.c 2019-04-01 15:47:02.000000000 -0400 +++ snx_V2.0.5.0/driver/snx_main.c 2021-09-14 09:27:18.672123751 -0400 @@ -1197,11 +1197,13 @@ static int sunix_ser_port_table_init(voi sp->port.pb_info = sb->pb_info; sp->port.irq = sb->irq; sp->port.line = n; sp->port.uartclk = sp->port.baud_base * 16; sp->port.iotype = SNX_UPIO_PORT; +#if (LINUX_VERSION_CODE < KERNEL_VERSION(4, 7, 0)) sp->port.flags = ASYNC_SHARE_IRQ; +#endif sp->port.ldisc_stop_rx = 0; spin_lock_init(&sp->port.lock); if (sp->port.chip_flag == SUN1889_HWID) { sp->port.snx_type = SNX_SER_PORT_SUN1889;