git://ftp.safe.ca
/
safe
/
jmp
/
linux-2.6
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
V4L/DVB (8523): v4l2-dev: remove unused type and type2 field from video_device
[safe/jmp/linux-2.6]
/
drivers
/
media
/
common
/
saa7146_fops.c
diff --git
a/drivers/media/common/saa7146_fops.c
b/drivers/media/common/saa7146_fops.c
index
171afe7
..
cf6a817
100644
(file)
--- a/
drivers/media/common/saa7146_fops.c
+++ b/
drivers/media/common/saa7146_fops.c
@@
-563,7
+563,7
@@
int saa7146_unregister_device(struct video_device **vid, struct saa7146_dev* dev
DEB_EE(("dev:%p\n",dev));
- if
( VFL_TYPE_GRABBER == (*vid)->type
) {
+ if
((*vid)->vfl_type == VFL_TYPE_GRABBER
) {
vv->video_minor = -1;
} else {
vv->vbi_minor = -1;