summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@infradead.org>2008-03-30 23:28:59 +0000
committerMauro Carvalho Chehab <mchehab@infradead.org>2008-03-30 23:28:59 +0000
commit91a5392298717a113c102559db0369af7c09a246 (patch)
tree4251a89d24a6eaa0ecf8a526bbb07d5610c448fe
parent4d284bf8f199c1578551bf83c9d9692fdd2b86dd (diff)
downloadmediapointer-dvb-s2-91a5392298717a113c102559db0369af7c09a246.tar.gz
mediapointer-dvb-s2-91a5392298717a113c102559db0369af7c09a246.tar.bz2
proper prototype for zoran_device.c:zr36016_write()
From: Adrian Bunk <bunk@kernel.org> This patch adds a proper prototype for zr36016_write() in drivers/media/video/zoran_card.h Signed-off-by: Adrian Bunk <bunk@kernel.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
-rw-r--r--linux/drivers/media/video/zoran_card.h2
-rw-r--r--linux/drivers/media/video/zoran_device.c5
2 files changed, 2 insertions, 5 deletions
diff --git a/linux/drivers/media/video/zoran_card.h b/linux/drivers/media/video/zoran_card.h
index 8444ca0a5..1b5c4171c 100644
--- a/linux/drivers/media/video/zoran_card.h
+++ b/linux/drivers/media/video/zoran_card.h
@@ -50,4 +50,6 @@ extern int zoran_check_jpg_settings(struct zoran *zr,
extern void zoran_open_init_params(struct zoran *zr);
extern void zoran_vdev_release(struct video_device *vdev);
+void zr36016_write(struct videocodec *codec, u16 reg, u32 val);
+
#endif /* __ZORAN_CARD_H__ */
diff --git a/linux/drivers/media/video/zoran_device.c b/linux/drivers/media/video/zoran_device.c
index 2b15fcfba..575f5447c 100644
--- a/linux/drivers/media/video/zoran_device.c
+++ b/linux/drivers/media/video/zoran_device.c
@@ -929,11 +929,6 @@ count_reset_interrupt (struct zoran *zr)
return isr;
}
-/* hack */
-extern void zr36016_write (struct videocodec *codec,
- u16 reg,
- u32 val);
-
void
jpeg_start (struct zoran *zr)
{