radio-tea5761: Update driver
authorEduardo Valentin <eduardo.valentin@indt.org.br>
Tue, 10 Jun 2008 17:42:12 +0000 (13:42 -0400)
committerTony Lindgren <tony@atomide.com>
Mon, 23 Jun 2008 10:42:25 +0000 (13:42 +0300)
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 <eduardo.valentin@indt.org.br>
Signed-off-by: Tony Lindgren <tony@atomide.com>
drivers/media/radio/Kconfig
drivers/media/radio/Makefile
drivers/media/radio/radio-tea5761.c

index de6ca27..b45f834 100644 (file)
@@ -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.
 
index f5bffcc..a843007 100644 (file)
@@ -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/
Simple merge