diff options
author | Hans Verkuil <hverkuil@xs4all.nl> | 2007-08-23 04:42:59 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2007-10-09 21:06:44 -0400 |
commit | 612570f2c4794bbf4e5bfa8648b61fbfc9cd8501 (patch) | |
tree | 2087dc33425f055ab60ba36eefd962841329703c /drivers/media/video/ivtv/ivtv-yuv.c | |
parent | 459a52fab2c42cd5fadfd51fdcfc6dea8107fabf (diff) |
V4L/DVB (6091): ivtv: header cleanup
- add guards
- remove unused header includes
- move card-specific stuff from ivtv-driver.h to ivtv-cards.h
- move YUV-specific stuff from ivtv-driver.h to ivtv-yuv.h
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers/media/video/ivtv/ivtv-yuv.c')
-rw-r--r-- | drivers/media/video/ivtv/ivtv-yuv.c | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/drivers/media/video/ivtv/ivtv-yuv.c b/drivers/media/video/ivtv/ivtv-yuv.c index 1922c1da20d3..bb2cbb206c14 100644 --- a/drivers/media/video/ivtv/ivtv-yuv.c +++ b/drivers/media/video/ivtv/ivtv-yuv.c | |||
@@ -19,11 +19,16 @@ | |||
19 | */ | 19 | */ |
20 | 20 | ||
21 | #include "ivtv-driver.h" | 21 | #include "ivtv-driver.h" |
22 | #include "ivtv-queue.h" | ||
23 | #include "ivtv-udma.h" | 22 | #include "ivtv-udma.h" |
24 | #include "ivtv-irq.h" | ||
25 | #include "ivtv-yuv.h" | 23 | #include "ivtv-yuv.h" |
26 | 24 | ||
25 | const u32 yuv_offset[4] = { | ||
26 | IVTV_YUV_BUFFER_OFFSET, | ||
27 | IVTV_YUV_BUFFER_OFFSET_1, | ||
28 | IVTV_YUV_BUFFER_OFFSET_2, | ||
29 | IVTV_YUV_BUFFER_OFFSET_3 | ||
30 | }; | ||
31 | |||
27 | static int ivtv_yuv_prep_user_dma(struct ivtv *itv, struct ivtv_user_dma *dma, | 32 | static int ivtv_yuv_prep_user_dma(struct ivtv *itv, struct ivtv_user_dma *dma, |
28 | struct ivtv_dma_frame *args) | 33 | struct ivtv_dma_frame *args) |
29 | { | 34 | { |