From: Behzat Erte <b3hzat@gmail.com>
To: video4linux-list@redhat.com
Subject: About "unknown field specified in initializer" error
Date: Thu, 23 Apr 2009 22:34:22 +0300 [thread overview]
Message-ID: <200904232234.22645.behzaterte@gmail.com> (raw)
Hello everyone,
I've some trouble with usb webcam driver. I am newbie for drivers and it's
really strange.
static struct video_device usbcam_videodev_template = {
.name = "usbcam-unknown",
.type = VFL_TYPE_GRABBER,
.type2 = VID_TYPE_CAPTURE,
.minor = -1,
.release = usbcam_videodev_release,
};
::: error :::
/home/home/Desktop/sq930-dev/usbcam_dev.c:133: error: unknown field ‘type’
specified in initializer
/home/home/Desktop/sq930-dev/usbcam_dev.c:134: error: unknown field ‘type2’
specified in initializer
By the way this driver is sq930(i used for creative laptop webcam) and it was
written for 2.6.17 -2.6.23 but I use 2.6.29.
Than again, I try to change with normal varible that defines, like
VFL_TYPE_GRABBER is 0 and VID_TYPE_CAPTURE is 1.
Could you give me any advice about this situation?
Thanks & Regards
Behzat.
--
video4linux-list mailing list
Unsubscribe mailto:video4linux-list-request@redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/video4linux-list
next reply other threads:[~2009-04-23 19:34 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-04-23 19:34 Behzat Erte [this message]
-- strict thread matches above, loose matches on Subject: below --
2009-04-24 13:36 About "unknown field specified in initializer" error Behzat Erte
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200904232234.22645.behzaterte@gmail.com \
--to=b3hzat@gmail.com \
--cc=video4linux-list@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox