public inbox for linux-media@vger.kernel.org
 help / color / mirror / Atom feed
* About "unknown field specified in initializer" error
@ 2009-04-23 19:34 Behzat Erte
  0 siblings, 0 replies; 2+ messages in thread
From: Behzat Erte @ 2009-04-23 19:34 UTC (permalink / raw)
  To: video4linux-list

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* About "unknown field specified in initializer" error
@ 2009-04-24 13:36 Behzat Erte
  0 siblings, 0 replies; 2+ messages in thread
From: Behzat Erte @ 2009-04-24 13:36 UTC (permalink / raw)
  To: linux-media

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.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-04-24 13:37 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-04-23 19:34 About "unknown field specified in initializer" error Behzat Erte
  -- strict thread matches above, loose matches on Subject: below --
2009-04-24 13:36 Behzat Erte

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox