1
0
mirror of https://github.com/DigitalDevices/dddvb.git synced 2023-10-10 13:37:43 +02:00

do not reference eth_rebuild_header in newer kernels

This commit is contained in:
Ralph Metzler 2015-08-31 20:51:44 +02:00
parent 5ed590a3c7
commit 5c4db2b594

View File

@ -1227,7 +1227,9 @@ static int dvb_net_stop(struct net_device *dev)
static const struct header_ops dvb_header_ops = { static const struct header_ops dvb_header_ops = {
.create = eth_header, .create = eth_header,
.parse = eth_header_parse, .parse = eth_header_parse,
#if LINUX_VERSION_CODE < KERNEL_VERSION(4, 1, 2)
.rebuild = eth_rebuild_header, .rebuild = eth_rebuild_header,
#endif
}; };