aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/staging/cx25821/cx25821-video.h
diff options
context:
space:
mode:
authorPalash Bandyopadhyay <Palash.Bandyopadhyay@conexant.com>2010-07-04 13:15:38 -0400
committerMauro Carvalho Chehab <mchehab@redhat.com>2010-08-02 14:18:44 -0400
commit6d8c2ba1d154f2a94303fc92691887525065199e (patch)
treee61e6c9d6301406964851aecccc3a02ac634fc30 /drivers/staging/cx25821/cx25821-video.h
parentfab8125919c0fc724e11b184b1c812dfb8990549 (diff)
V4L/DVB: cx25821: Removed duplicate code and cleaned up
Signed-off-by: Palash Bandyopadhyay <Palash.Bandyopadhyay@conexant.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/staging/cx25821/cx25821-video.h')
-rw-r--r--drivers/staging/cx25821/cx25821-video.h16
1 files changed, 2 insertions, 14 deletions
diff --git a/drivers/staging/cx25821/cx25821-video.h b/drivers/staging/cx25821/cx25821-video.h
index 0bddc02be57..513eaba406e 100644
--- a/drivers/staging/cx25821/cx25821-video.h
+++ b/drivers/staging/cx25821/cx25821-video.h
@@ -80,17 +80,6 @@ extern struct sram_channel *channel7;
80extern struct sram_channel *channel9; 80extern struct sram_channel *channel9;
81extern struct sram_channel *channel10; 81extern struct sram_channel *channel10;
82extern struct sram_channel *channel11; 82extern struct sram_channel *channel11;
83extern struct video_device cx25821_video_template0;
84extern struct video_device cx25821_video_template1;
85extern struct video_device cx25821_video_template2;
86extern struct video_device cx25821_video_template3;
87extern struct video_device cx25821_video_template4;
88extern struct video_device cx25821_video_template5;
89extern struct video_device cx25821_video_template6;
90extern struct video_device cx25821_video_template7;
91extern struct video_device cx25821_video_template9;
92extern struct video_device cx25821_video_template10;
93extern struct video_device cx25821_video_template11;
94extern struct video_device cx25821_videoioctl_template; 83extern struct video_device cx25821_videoioctl_template;
95//extern const u32 *ctrl_classes[]; 84//extern const u32 *ctrl_classes[];
96 85
@@ -113,7 +102,7 @@ extern int cx25821_set_tvnorm(struct cx25821_dev *dev, v4l2_std_id norm);
113extern int cx25821_res_get(struct cx25821_dev *dev, struct cx25821_fh *fh, 102extern int cx25821_res_get(struct cx25821_dev *dev, struct cx25821_fh *fh,
114 unsigned int bit); 103 unsigned int bit);
115extern int cx25821_res_check(struct cx25821_fh *fh, unsigned int bit); 104extern int cx25821_res_check(struct cx25821_fh *fh, unsigned int bit);
116extern int cx25821_res_locked(struct cx25821_dev *dev, unsigned int bit); 105extern int cx25821_res_locked(struct cx25821_fh *fh, unsigned int bit);
117extern void cx25821_res_free(struct cx25821_dev *dev, struct cx25821_fh *fh, 106extern void cx25821_res_free(struct cx25821_dev *dev, struct cx25821_fh *fh,
118 unsigned int bits); 107 unsigned int bits);
119extern int cx25821_video_mux(struct cx25821_dev *dev, unsigned int input); 108extern int cx25821_video_mux(struct cx25821_dev *dev, unsigned int input);
@@ -126,8 +115,7 @@ extern int cx25821_set_scale(struct cx25821_dev *dev, unsigned int width,
126 unsigned int height, enum v4l2_field field); 115 unsigned int height, enum v4l2_field field);
127extern int cx25821_video_irq(struct cx25821_dev *dev, int chan_num, u32 status); 116extern int cx25821_video_irq(struct cx25821_dev *dev, int chan_num, u32 status);
128extern void cx25821_video_unregister(struct cx25821_dev *dev, int chan_num); 117extern void cx25821_video_unregister(struct cx25821_dev *dev, int chan_num);
129extern int cx25821_video_register(struct cx25821_dev *dev, int chan_num, 118extern int cx25821_video_register(struct cx25821_dev *dev);
130 struct video_device *video_template);
131extern int cx25821_get_format_size(void); 119extern int cx25821_get_format_size(void);
132 120
133extern int cx25821_buffer_setup(struct videobuf_queue *q, unsigned int *count, 121extern int cx25821_buffer_setup(struct videobuf_queue *q, unsigned int *count,