Mailing List archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[linux-dvb] Re: refactoring



> >When attaching the frontend, the card driver just picks the functions it
> > wants from the demod implementation - it can supply its own
> > implementation if it needs to. Much neater than a clunky ioctl_override()
> > function.
>
> yes...

You can also replace all the dvb_frontend_notifier stuff with just a single 
function pointer in dvb_fe_functions:

        void (*fe_notifier_callback)(void* data, fe_status_t s);

The card driver simply defines that if it wants it.




Home | Main Index | Thread Index