Hi,

Hans Verkuil:
> +       //INIT_WORK(&itv->vbi.work_queue, vbi_work_handler, itv);
> +        INIT_WORK(&itv->vbi.work_queue, vbi_work_handler); // 2.6.20+ 
> 
> Sorry, but that can't be the full fix: that itv pointer must be passed 
> to the work queue somehow!

It isn't.

Basically: it needs to be passed by embedding the work queue struct
inside the itv data structure, and then using container_of() to go from
the latter to the former.

See lwn.net for details; they have pretty good kernel-internals-change
coverage.

-- 
Matthias Urlichs   |   {M:U} IT Design @ m-u-it.de   |  [EMAIL PROTECTED]
Disclaimer: The quote was selected randomly. Really. | http://smurf.noris.de
 - -
One-Shot Case Study, n.:
        The scientific equivalent of the four-leaf clover, from which it is
        concluded all clovers possess four leaves and are sometimes green.

_______________________________________________
ivtv-devel mailing list
[email protected]
http://ivtvdriver.org/mailman/listinfo/ivtv-devel

Reply via email to