summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Hunold <devnull@localhost>2004-03-31 10:17:53 +0000
committerMichael Hunold <devnull@localhost>2004-03-31 10:17:53 +0000
commit36d7cde6dadca8d39ecdc9deb9ba6df3e95a1125 (patch)
treeef3c14264ad02ed727807937a25c4decd135ca5b
parente90360e740607f434ecbb593fc9471a49b34a757 (diff)
downloadmediapointer-dvb-s2-36d7cde6dadca8d39ecdc9deb9ba6df3e95a1125.tar.gz
mediapointer-dvb-s2-36d7cde6dadca8d39ecdc9deb9ba6df3e95a1125.tar.bz2
- add crc32 include for ULE patch
- comment out dev->owner usage for now, it's gone in 2.6. I need to investigate how to fix this
-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;