diff options
author | Ingo Molnar <mingo@elte.hu> | 2008-07-30 13:33:48 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-07-30 13:33:48 -0400 |
commit | 15dd859cacf312f606f54502d1f66537a1e5c78c (patch) | |
tree | e50e125eaa6da83fa715704e53c1bde013d1ef8e /drivers/media/video/w9968cf.c | |
parent | b2d9d33412b9d13a40cd314d93ab517950fc5950 (diff) | |
parent | 6e86841d05f371b5b9b86ce76c02aaee83352298 (diff) |
Merge commit 'v2.6.27-rc1' into x86/core
Conflicts:
include/asm-x86/dma-mapping.h
include/asm-x86/namei.h
include/asm-x86/uaccess.h
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'drivers/media/video/w9968cf.c')
-rw-r--r-- | drivers/media/video/w9968cf.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/drivers/media/video/w9968cf.c b/drivers/media/video/w9968cf.c index 840522442d07..168baabe4659 100644 --- a/drivers/media/video/w9968cf.c +++ b/drivers/media/video/w9968cf.c | |||
@@ -42,6 +42,7 @@ | |||
42 | #include <asm/page.h> | 42 | #include <asm/page.h> |
43 | #include <asm/uaccess.h> | 43 | #include <asm/uaccess.h> |
44 | #include <linux/page-flags.h> | 44 | #include <linux/page-flags.h> |
45 | #include <media/v4l2-ioctl.h> | ||
45 | 46 | ||
46 | #include "w9968cf.h" | 47 | #include "w9968cf.h" |
47 | #include "w9968cf_decoder.h" | 48 | #include "w9968cf_decoder.h" |
@@ -3549,13 +3550,11 @@ w9968cf_usb_probe(struct usb_interface* intf, const struct usb_device_id* id) | |||
3549 | } | 3550 | } |
3550 | 3551 | ||
3551 | strcpy(cam->v4ldev->name, symbolic(camlist, mod_id)); | 3552 | strcpy(cam->v4ldev->name, symbolic(camlist, mod_id)); |
3552 | cam->v4ldev->owner = THIS_MODULE; | ||
3553 | cam->v4ldev->type = VID_TYPE_CAPTURE | VID_TYPE_SCALES; | ||
3554 | cam->v4ldev->fops = &w9968cf_fops; | 3553 | cam->v4ldev->fops = &w9968cf_fops; |
3555 | cam->v4ldev->minor = video_nr[dev_nr]; | 3554 | cam->v4ldev->minor = video_nr[dev_nr]; |
3556 | cam->v4ldev->release = video_device_release; | 3555 | cam->v4ldev->release = video_device_release; |
3557 | video_set_drvdata(cam->v4ldev, cam); | 3556 | video_set_drvdata(cam->v4ldev, cam); |
3558 | cam->v4ldev->dev = &cam->dev; | 3557 | cam->v4ldev->parent = &cam->dev; |
3559 | 3558 | ||
3560 | err = video_register_device(cam->v4ldev, VFL_TYPE_GRABBER, | 3559 | err = video_register_device(cam->v4ldev, VFL_TYPE_GRABBER, |
3561 | video_nr[dev_nr]); | 3560 | video_nr[dev_nr]); |