summaryrefslogtreecommitdiff
path: root/linux/drivers/media/dvb/dvb-core
diff options
context:
space:
mode:
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