V4L/DVB (8866): Add dummy FE to the Kconfig-file and fix it

Previous thread: V4L/DVB (8857): v4l2-dev: replace panic with BUG by Linux Kernel Mailing List on Monday, October 13, 2008 - 3:08 pm. (1 message)

Next thread: V4L/DVB (8879): bttv: Don't unmask VPRES interrupt by Linux Kernel Mailing List on Monday, October 13, 2008 - 3:08 pm. (1 message)
From: Linux Kernel Mailing List
Date: Monday, October 13, 2008 - 3:08 pm

Gitweb:     http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=bccd70...
Commit:     bccd7003aef20e040cef95d1216dac26199d7071
Parent:     6ea9a1829a89515c1866151b1fdca7ee612d1490
Author:     Patrick Boettcher <pb@linuxtv.org>
AuthorDate: Sat Aug 30 12:15:54 2008 -0300
Committer:  Mauro Carvalho Chehab <mchehab@redhat.com>
CommitDate: Sun Oct 12 09:36:56 2008 -0200

    V4L/DVB (8866): Add dummy FE to the Kconfig-file and fix it
    
    Reactivated dummy frontend driver which is extremely useful for debugging.
    
    Signed-off-by: Patrick Boettcher <pb@linuxtv.org>
    Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
---
 drivers/media/dvb/frontends/Kconfig        |    6 ++++++
 drivers/media/dvb/frontends/Makefile       |    1 +
 drivers/media/dvb/frontends/dvb_dummy_fe.c |    7 ++++---
 3 files changed, 11 insertions(+), 3 deletions(-)

diff --git a/drivers/media/dvb/frontends/Kconfig b/drivers/media/dvb/frontends/Kconfig
index 774f5c2..e2444f2 100644
--- a/drivers/media/dvb/frontends/Kconfig
+++ b/drivers/media/dvb/frontends/Kconfig
@@ -392,4 +392,10 @@ config DVB_LGS8GL5
 	help
 	  A DMB-TH tuner module. Say Y when you want to support this frontend.
 
+comment "Tools to develop new frontends"
+
+config DVB_DUMMY_FE
+	tristate "Dummy frontend driver"
+	default n
+
 endmenu
diff --git a/drivers/media/dvb/frontends/Makefile b/drivers/media/dvb/frontends/Makefile
index 262eaa4..ca24618 100644
--- a/drivers/media/dvb/frontends/Makefile
+++ b/drivers/media/dvb/frontends/Makefile
@@ -49,3 +49,4 @@ obj-$(CONFIG_DVB_AU8522) += au8522.o
 obj-$(CONFIG_DVB_TDA10048) += tda10048.o
 obj-$(CONFIG_DVB_S5H1411) += s5h1411.o
 obj-$(CONFIG_DVB_LGS8GL5) += lgs8gl5.o
+obj-$(CONFIG_DVB_DUMMY_FE) += dvb_dummy_fe.o
diff --git a/drivers/media/dvb/frontends/dvb_dummy_fe.c b/drivers/media/dvb/frontends/dvb_dummy_fe.c
index fed09df..cb4d8a3 100644
--- a/drivers/media/dvb/frontends/dvb_dummy_fe.c
+++ ...
Previous thread: V4L/DVB (8857): v4l2-dev: replace panic with BUG by Linux Kernel Mailing List on Monday, October 13, 2008 - 3:08 pm. (1 message)

Next thread: V4L/DVB (8879): bttv: Don't unmask VPRES interrupt by Linux Kernel Mailing List on Monday, October 13, 2008 - 3:08 pm. (1 message)