Hans Verkuil wrote:

> At first glance that certainly seems better than adding a void pointer as
> a replacement for the set_analog_params function pointer.


Sometimes elegance also matters. Other than that the convention that we
have is (from dvb_frontend.h)

      151       void* demodulator_priv;
      152       void* tuner_priv;
      153       void* frontend_priv;
      154       void* sec_priv;

for private resources. Since the hybrid operation is private to the
device, just followed the same convention, which additionally brings in
the advantage of *not* having private resources into the header for dvb
core.



_______________________________________________
linux-dvb mailing list
[email protected]
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb

Reply via email to