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-fileops.h | |
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-fileops.h')
-rw-r--r-- | drivers/media/video/ivtv/ivtv-fileops.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/media/video/ivtv/ivtv-fileops.h b/drivers/media/video/ivtv/ivtv-fileops.h index 74a1745fabbc..2c8d5186c9c3 100644 --- a/drivers/media/video/ivtv/ivtv-fileops.h +++ b/drivers/media/video/ivtv/ivtv-fileops.h | |||
@@ -18,6 +18,9 @@ | |||
18 | Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | 18 | Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
19 | */ | 19 | */ |
20 | 20 | ||
21 | #ifndef IVTV_FILEOPS_H | ||
22 | #define IVTV_FILEOPS_H | ||
23 | |||
21 | /* Testing/Debugging */ | 24 | /* Testing/Debugging */ |
22 | int ivtv_v4l2_open(struct inode *inode, struct file *filp); | 25 | int ivtv_v4l2_open(struct inode *inode, struct file *filp); |
23 | ssize_t ivtv_v4l2_read(struct file *filp, char __user *buf, size_t count, | 26 | ssize_t ivtv_v4l2_read(struct file *filp, char __user *buf, size_t count, |
@@ -42,3 +45,5 @@ int ivtv_claim_stream(struct ivtv_open_id *id, int type); | |||
42 | 45 | ||
43 | /* Release a previously claimed stream. */ | 46 | /* Release a previously claimed stream. */ |
44 | void ivtv_release_stream(struct ivtv_stream *s); | 47 | void ivtv_release_stream(struct ivtv_stream *s); |
48 | |||
49 | #endif | ||