Hi dsds, On Sat, Apr 05, 2008 at 15:52:53 +0200, ds ds wrote: > Hi, in uvc_status.c line 46, we have : > input->dev.parent = something... > "dev" is a pointer on "struct uvc_device" defined in > file uvcvideo.h line 593 > but no "parent" here...
That's wrongly interpreted. - At the top of that function (uvc_input_init()), input is declared as a "struct input_dev *". - Within that struct input_dev, dev is declared as a "struct device" (in linux/input.h). - Within that struct device, parent is again declared as a "struct device *" (in linux/device.h). This is for my current kernel 2.6.24.4. > make[1]: Leaving directory > `/usr/src/linux-2.6.17-16mdv' Hmm. Perhaps the driver has a slight incompatibility with 2.6.17, perhaps recently introduced? As far as I can see, 2.6.17 has the same declarations[*]. Does your Mandriva provide a newer kernel, and do you have the possibility of upgrading? Moritz [*] http://lxr.linux.no/linux+v2.6.17/include/linux/ _______________________________________________ Linux-uvc-devel mailing list [email protected] https://lists.berlios.de/mailman/listinfo/linux-uvc-devel
