]> err.no Git - linux-2.6/commitdiff
V4L/DVB (7479): proper prototype for zoran_device.c:zr36016_write()
authorAdrian Bunk <bunk@kernel.org>
Mon, 31 Mar 2008 02:28:59 +0000 (23:28 -0300)
committerMauro Carvalho Chehab <mchehab@infradead.org>
Thu, 24 Apr 2008 17:07:57 +0000 (14:07 -0300)
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>
drivers/media/video/zoran_card.h
drivers/media/video/zoran_device.c

index 8444ca0a5f3fd72837554f3edada9dbcbc4918dc..1b5c4171cf9c37f0b7c3f6f365490ded31b95da2 100644 (file)
@@ -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__ */
index 05b16a254cb3cc8b9a6626ebf45e05e19f843970..7b60533efe456bb4b650f060acc02bf66396f1de 100644 (file)
@@ -928,11 +928,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)
 {