HI all,

I trying to compile spca5xx usb web cam driver with 2.6.21-git kernel n getting these error

error log:


/home/hawk/Suyambu/TCS_TESTS/spca5xx-v4l1goodbye/drivers/usb/spca5xx.c:3272: error: variable `spca50x_template' has initializer but incomplete type /home/hawk/Suyambu/TCS_TESTS/spca5xx-v4l1goodbye/drivers/usb/spca5xx.c:3273: error: unknown field `owner' specified in initializer /home/hawk/Suyambu/TCS_TESTS/spca5xx-v4l1goodbye/drivers/usb/spca5xx.c:3273: warning: excess elements in struct initializer /home/hawk/Suyambu/TCS_TESTS/spca5xx-v4l1goodbye/drivers/usb/spca5xx.c:3273: warning: (near initialization for `spca50x_template') /home/hawk/Suyambu/TCS_TESTS/spca5xx-v4l1goodbye/drivers/usb/spca5xx.c:3274: error: unknown field `name' specified in initializer /home/hawk/Suyambu/TCS_TESTS/spca5xx-v4l1goodbye/drivers/usb/spca5xx.c:3274: warning: excess elements in struct initializer /home/hawk/Suyambu/TCS_TESTS/spca5xx-v4l1goodbye/drivers/usb/spca5xx.c:3274: warning: (near initialization for `spca50x_template') /home/hawk/Suyambu/TCS_TESTS/spca5xx-v4l1goodbye/drivers/usb/spca5xx.c:3275: error: unknown field `type' specified in initializer
/


I could able to compile this same driver in montavista 2.6.10 (received with DVEVM board). I noticed that there are changes in the video_device structure in 2.6.21-git kernel. Is there any patch is available for 2.6.21-git kernel or for spca5xx web cam driver to be compile this driver in 2.6.21-git kernel.

thanks in advance

Suyambu,
Vivek



----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.

_______________________________________________
Davinci-linux-open-source mailing list
Davinci-linux-open-source@linux.davincidsp.com
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source

Reply via email to