Skip to contentSkip to conversation

Include saa6588 compiler option and files / Fixes comments on tuner.h

PATCH New Mauro Carvalho Chehab 1 participant 1 message Sep 7, 2005

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 23/24 Include saa6588 compiler option and files / Fixes comments on tuner.h

- Include saa6588 compiler option and files.
- Fix comment on tuner.h
- linux/utsname.h replaced by linux/version.h to compile on vanilla 2.6.13

 linux/drivers/media/video/Kconfig                        |   12
 linux/drivers/media/video/Makefile                       |    2
 linux/drivers/media/video/bttvp.h                        |    2
 linux/drivers/media/video/cx88/cx88.h                    |    2
 linux/drivers/media/video/saa7134/saa7134.h              |    2
 linux/include/media/tuner.h                              |    2
 linux/drivers/media/video/rds.h                          |   48
 linux/drivers/media/video/saa6588.c                      |  534 ++++++++++
 8 files changed, 600 insertions(+), 4 deletions(-)
usr/src/linux-v4l/drivers/media/video/bttvp.h renamed from drivers/media/video/bttvp.h +1 -1
diff -upr linux/drivers/media/video/bttvp.h /usr/src/linux-v4l/drivers/media/video/bttvp.h
@@ -25,7 +25,7 @@
 #ifndef _BTTVP_H_
 #define _BTTVP_H_
 
-#include <linux/utsname.h>
+#include <linux/version.h>
 #define BTTV_VERSION_CODE KERNEL_VERSION(0,9,16)
 
 #include <linux/types.h>
usr/src/linux-v4l/drivers/media/video/Kconfig renamed from drivers/media/video/Kconfig +12 -0
diff -upr linux/drivers/media/video/Kconfig /usr/src/linux-v4l/drivers/media/video/Kconfig
@@ -28,6 +28,18 @@ config VIDEO_BT848
 	  To compile this driver as a module, choose M here: the
 	  module will be called bttv.
 
+config VIDEO_SAA6588
+	tristate "SAA6588 Radio Chip RDS decoder support on BT848 cards"
+	depends on VIDEO_DEV && I2C && VIDEO_BT848
+
+	help
+	  Support for  Radio Data System (RDS) decoder. This allows seeing
+	  radio station identification transmitted using this standard.
+	  Currentlly, it works only with bt8x8 chips.
+
+	  To compile this driver as a module, choose M here: the
+	  module will be called saa6588.
+
 config VIDEO_PMS
 	tristate "Mediavision Pro Movie Studio Video For Linux"
 	depends on VIDEO_DEV && ISA
usr/src/linux-v4l/drivers/media/video/Makefile renamed from drivers/media/video/Makefile +2 -0
diff -upr linux/drivers/media/video/Makefile /usr/src/linux-v4l/drivers/media/video/Makefile
@@ -5,6 +5,7 @@
 bttv-objs	:=	bttv-driver.o bttv-cards.o bttv-if.o \
 			bttv-risc.o bttv-vbi.o bttv-i2c.o bttv-gpio.o
 zoran-objs      :=	zr36120.o zr36120_i2c.o zr36120_mem.o
+rds-objs        :=	saa6588.o
 zr36067-objs	:=	zoran_procfs.o zoran_device.o \
 			zoran_driver.o zoran_card.o
 tuner-objs	:=	tuner-core.o tuner-simple.o mt20xx.o tda8290.o tea5767.o
@@ -15,6 +16,7 @@ obj-$(CONFIG_VIDEO_BT848) += bttv.o msp3
 obj-$(CONFIG_SOUND_TVMIXER) += tvmixer.o
 
 obj-$(CONFIG_VIDEO_ZR36120) += zoran.o
+obj-$(CONFIG_VIDEO_SAA6588) += rds.o
 obj-$(CONFIG_VIDEO_SAA5246A) += saa5246a.o
 obj-$(CONFIG_VIDEO_SAA5249) += saa5249.o
 obj-$(CONFIG_VIDEO_CQCAM) += c-qcam.o
usr/src/linux-v4l/include/media/tuner.h renamed from include/media/tuner.h +1 -1
diff -upr linux/include/media/tuner.h /usr/src/linux-v4l/include/media/tuner.h
@@ -1,4 +1,4 @@
- *
+/*
     tuner.h - definition for different tuners
 
     Copyright (C) 1997 Markus Schroeder ([email protected])
usr/src/linux-v4l/drivers/media/video/cx88/cx88.h renamed from drivers/media/video/cx88/cx88.h +1 -1
diff -upr linux/drivers/media/video/cx88/cx88.h /usr/src/linux-v4l/drivers/media/video/cx88/cx88.h
@@ -34,7 +34,7 @@
 #include "btcx-risc.h"
 #include "cx88-reg.h"
 
-#include <linux/utsname.h>
+#include <linux/version.h>
 #define CX88_VERSION_CODE KERNEL_VERSION(0,0,5)
 
 #ifndef TRUE
usr/src/linux-v4l/drivers/media/video/saa7134/saa7134.h renamed from drivers/media/video/saa7134/saa7134.h +1 -1
diff -upr linux/drivers/media/video/saa7134/saa7134.h /usr/src/linux-v4l/drivers/media/video/saa7134/saa7134.h
@@ -19,7 +19,7 @@
  *  Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  */
 
-#include <linux/utsname.h>
+#include <linux/version.h>
 #define SAA7134_VERSION_CODE KERNEL_VERSION(0,2,14)
 
 #include <linux/pci.h>
 linux/drivers/media/video/rds.h     |   48 ++
 linux/drivers/media/video/saa6588.c |  534 ++++++++++++++++++++++++++++
 2 files changed, 582 insertions(+)
drivers/media/video/rds.h +48 -0

48 lines not on this page · raw message

drivers/media/video/saa6588.c +534 -0

534 lines not on this page · raw message