From: Eduardo Valentin Date: Tue, 10 Jun 2008 17:42:12 +0000 (-0400) Subject: radio-tea5761: Update driver X-Git-Tag: v2.6.26-omap1~117 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5728b4a3ba5ace557263e5ccb0bc7829e543acf5;p=pandora-kernel.git radio-tea5761: Update driver This patch updates this driver by changing the way it accesses the device. There is the tuner API which already has an implementation for tea5761. This patch changes the driver to use tuner API. It also changes the way ioctls are handled. This way it is more easy to deal with v4l2 and v4l calls. Some cleans are also done. Signed-off-by: Eduardo Valentin Signed-off-by: Tony Lindgren --- diff --git a/drivers/media/radio/Kconfig b/drivers/media/radio/Kconfig index de6ca277dabf..b45f8345fee8 100644 --- a/drivers/media/radio/Kconfig +++ b/drivers/media/radio/Kconfig @@ -341,6 +341,7 @@ config RADIO_ZOLTRIX_PORT config RADIO_TEA5761 tristate "Philips Semiconductors TEA5761 I2C FM Radio" + depends on MEDIA_TUNER_TEA5761 help Choose Y here if you have one of these AM/FM radio cards. diff --git a/drivers/media/radio/Makefile b/drivers/media/radio/Makefile index f5bffcce0b59..a8430070a0b8 100644 --- a/drivers/media/radio/Makefile +++ b/drivers/media/radio/Makefile @@ -25,3 +25,5 @@ obj-$(CONFIG_USB_DSBR) += dsbr100.o obj-$(CONFIG_USB_SI470X) += radio-si470x.o EXTRA_CFLAGS += -Isound +EXTRA_CFLAGS += -Idrivers/media/dvb/dvb-core/ +EXTRA_CFLAGS += -Idrivers/media/common/tuners/ Reading git-diff-tree failed