summaryrefslogtreecommitdiff
path: root/linux/drivers
diff options
context:
space:
mode:
Diffstat (limited to 'linux/drivers')
-rw-r--r--linux/drivers/media/dvb/dvb-core/dvb_net.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/linux/drivers/media/dvb/dvb-core/dvb_net.c b/linux/drivers/media/dvb/dvb-core/dvb_net.c
index 2cb4a4baa..991ff4138 100644
--- a/linux/drivers/media/dvb/dvb-core/dvb_net.c
+++ b/linux/drivers/media/dvb/dvb-core/dvb_net.c
@@ -39,6 +39,7 @@
#include <linux/dvb/net.h>
#include <linux/uio.h>
#include <asm/uaccess.h>
+#include <linux/crc32.h>
#include "dvb_demux.h"
#include "dvb_net.h"
@@ -952,8 +953,9 @@ static void dvb_net_setup(struct net_device *dev)
dev->mtu = 4096;
dev->mc_count = 0;
dev->hard_header_cache = NULL;
+#if LINUX_VERSION_CODE < KERNEL_VERSION(2,5,0)
dev->owner = priv->host->dvbdev->adapter->module;
-
+#endif
dev->flags |= IFF_NOARP;
#if LINUX_VERSION_CODE < KERNEL_VERSION(2,5,0)
return 0;