diff options
author | Michael Hunold <devnull@localhost> | 2004-03-31 10:17:53 +0000 |
---|---|---|
committer | Michael Hunold <devnull@localhost> | 2004-03-31 10:17:53 +0000 |
commit | 36d7cde6dadca8d39ecdc9deb9ba6df3e95a1125 (patch) | |
tree | ef3c14264ad02ed727807937a25c4decd135ca5b | |
parent | e90360e740607f434ecbb593fc9471a49b34a757 (diff) | |
download | mediapointer-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.c | 4 |
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; |