summaryrefslogtreecommitdiff
path: root/linux/drivers/media/dvb/dvb-core
diff options
context:
space:
mode:
authorMichael Hunold <devnull@localhost>2003-04-22 16:30:45 +0000
committerMichael Hunold <devnull@localhost>2003-04-22 16:30:45 +0000
commit5e8fe57d32dd88f0f84ff9c19e57d2e586dba9a7 (patch)
tree9dfb86fc68b477636df48c5b5ea3af5bfce6193e /linux/drivers/media/dvb/dvb-core
parente4b81e505a1aee843073badd3062488776aecfa0 (diff)
downloadmediapointer-dvb-s2-5e8fe57d32dd88f0f84ff9c19e57d2e586dba9a7.tar.gz
mediapointer-dvb-s2-5e8fe57d32dd88f0f84ff9c19e57d2e586dba9a7.tar.bz2
- removed the compatibility crap around KBUILD_MODNAME from all drivers,
use KBUILD_BASENAME for 2.4 instead ­ some changes to the i2c core to make it work with both 2.4 and late 2.5 kernels (not done yet -- only interesting for analog drivers) - add MODULE_DEVICE_TABLE to all drivers, so that pci "hotplug" can detect the devices automatically. Alan Cox says, that we should use this to load the firmware (not done yet) - fix the long standing "insmod/rmmod with multiple budget cards" bug -- it was a double kfree() call...
Diffstat (limited to 'linux/drivers/media/dvb/dvb-core')
-rw-r--r--linux/drivers/media/dvb/dvb-core/Kconfig10
-rw-r--r--linux/drivers/media/dvb/dvb-core/compat.h2
2 files changed, 2 insertions, 10 deletions
diff --git a/linux/drivers/media/dvb/dvb-core/Kconfig b/linux/drivers/media/dvb/dvb-core/Kconfig
index c264b069c..99e2d6b9d 100644
--- a/linux/drivers/media/dvb/dvb-core/Kconfig
+++ b/linux/drivers/media/dvb/dvb-core/Kconfig
@@ -5,13 +5,3 @@ config DVB_CORE
DVB core utility functions for device handling, software fallbacks etc.
Say Y when you have a DVB card and want to use it. If unsure say N.
-
-config DVB_DEVFS_ONLY
- bool "devfs only"
- depends on DVB_CORE=y && DEVFS_FS
- help
- Drop support for old major/minor device scheme and support only devfs
- systems. This saves some code.
-
- If unsure say N.
-
diff --git a/linux/drivers/media/dvb/dvb-core/compat.h b/linux/drivers/media/dvb/dvb-core/compat.h
index 4ab3ef8c4..cbbaee353 100644
--- a/linux/drivers/media/dvb/dvb-core/compat.h
+++ b/linux/drivers/media/dvb/dvb-core/compat.h
@@ -7,6 +7,8 @@
#include <linux/version.h>
#include <linux/fs.h>
+/* necessary dummy functions due to the > 2.5.67 kernel i2c changes */
+#define i2c_get_adapdata(adapter) (struct saa7146_dev*)adapter->data;
/**
* a sleeping delay function, waits i ms