fixes for 3.x kernels

This commit is contained in:
Ralph Metzler
2018-03-02 10:46:28 +01:00
parent 991393950b
commit dedb5bd387
2 changed files with 22 additions and 1 deletions

View File

@@ -1382,7 +1382,7 @@ static int dvb_net_add_if(struct dvb_net *dvbnet, u16 pid, u8 feedtype)
return -EINVAL;
net = alloc_netdev(sizeof(struct dvb_net_priv), "dvb",
#if (LINUX_VERSION_CODE >= KERNEL_VERSION(3, 14, 0))
#if (LINUX_VERSION_CODE >= KERNEL_VERSION(3, 17, 0))
NET_NAME_UNKNOWN,
#endif
dvb_net_setup);