summaryrefslogtreecommitdiff
path: root/linux
diff options
context:
space:
mode:
authorHans Verkuil <hverkuil@xs4all.nl>2008-08-08 20:47:07 +0200
committerHans Verkuil <hverkuil@xs4all.nl>2008-08-08 20:47:07 +0200
commitf4f1c18e1d6df3d203399aa181e7f1058d673ad3 (patch)
treeab9aac5db0b342351fe11968d2a13b6c178800aa /linux
parent5b343a7aef24076566088b82af54022c4742638c (diff)
downloadmediapointer-dvb-s2-f4f1c18e1d6df3d203399aa181e7f1058d673ad3.tar.gz
mediapointer-dvb-s2-f4f1c18e1d6df3d203399aa181e7f1058d673ad3.tar.bz2
arv: fix compilation errors/warnings
From: Hans Verkuil <hverkuil@xs4all.nl> - add PCI dependency for btcx - fix compile errors (doesn't like ';' at the end of a #if 0) Priority: normal Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Diffstat (limited to 'linux')
-rw-r--r--linux/drivers/media/video/Kconfig1
-rw-r--r--linux/drivers/media/video/arv.c12
2 files changed, 7 insertions, 6 deletions
diff --git a/linux/drivers/media/video/Kconfig b/linux/drivers/media/video/Kconfig
index d6b1a106a..4c96b690a 100644
--- a/linux/drivers/media/video/Kconfig
+++ b/linux/drivers/media/video/Kconfig
@@ -34,6 +34,7 @@ config VIDEOBUF_DVB
select VIDEOBUF_GEN
config VIDEO_BTCX
+ depends on PCI
tristate
config VIDEO_IR
diff --git a/linux/drivers/media/video/arv.c b/linux/drivers/media/video/arv.c
index e100d4cfb..9e96e7773 100644
--- a/linux/drivers/media/video/arv.c
+++ b/linux/drivers/media/video/arv.c
@@ -39,7 +39,7 @@
#include <asm/dma.h>
#include <asm/byteorder.h>
-#if 0 /* keep */;
+#if 0 /* keep */
#define DEBUG(n, args...) printk(args)
#define CHECK_LOST 1
#else
@@ -579,11 +579,11 @@ static void ar_interrupt(int irq, void *dev)
* we have to start capture.
*/
disable_dma();
-#if 0 /* keep */;
+#if 0 /* keep */
ar_outl(ar->line_buff, M32R_DMA0CDA_PORTL); /* needless? */
#endif
memcpy(ar->frame[0], ar->line_buff, ar->line_bytes);
-#if 0 /* keep */;
+#if 0 /* keep */
ar_outl(0xa1861300, M32R_DMA0CR0_PORTL);
#endif
enable_dma();
@@ -609,7 +609,7 @@ static void ar_interrupt(int irq, void *dev)
ar_outl(arvcr1, ARVCR1); /* disable */
wake_up_interruptible(&ar->wait);
} else {
-#if 0 /* keep */;
+#if 0 /* keep */
ar_outl(ar->line_buff, M32R_DMA0CDA_PORTL);
ar_outl(0xa1861300, M32R_DMA0CR0_PORTL);
#endif
@@ -693,7 +693,7 @@ static int ar_initialize(struct video_device *dev)
printk(".");
iic(2,0x78,0x8e,0x0c,0x00);
iic(2,0x78,0x8f,0x00,0x00);
-#if 0 /* keep */;
+#if 0 /* keep */
iic(2,0x78,0x90,0x00,0x00); /* AWB on=1 off=0 */
#endif
iic(2,0x78,0x93,0x01,0x00);
@@ -712,7 +712,7 @@ static int ar_initialize(struct video_device *dev)
iic(2,0x78,0x9e,0x2e,0x00);
iic(2,0x78,0xb8,0x78,0x00);
iic(2,0x78,0xba,0x05,0x00);
-#if 0 /* keep */;
+#if 0 /* keep */
iic(2,0x78,0x83,0x8c,0x00); /* brightness */
#endif
printk(".");