lkml.org 
[lkml]   [2008]   [Mar]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[2.6 patch] proper prototype for zoran_device.c:zr36016_write()
This patch adds a proper prototype for zr36016_write() in 
drivers/media/video/zoran_card.h

Signed-off-by: Adrian Bunk <bunk@kernel.org>

---
drivers/media/video/zoran_card.h | 2 ++
drivers/media/video/zoran_device.c | 5 -----
2 files changed, 2 insertions(+), 5 deletions(-)
b6d787f7215fc790d26d01be89a0358c9b430421 diff --git a/drivers/media/video/zoran_card.h b/drivers/media/video/zoran_card.h
index 8444ca0..1b5c417 100644
--- a/drivers/media/video/zoran_card.h
+++ b/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/drivers/media/video/zoran_device.c b/drivers/media/video/zoran_device.c
index f97c206..f347fa5 100644
--- a/drivers/media/video/zoran_device.c
+++ b/drivers/media/video/zoran_device.c
@@ -927,11 +927,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)
{


\
 
 \ /
  Last update: 2008-03-31 01:33    [from the cache]
©2003-2011 Jasper Spaans