[linux-dvb] [RFC] Hybrid tuner refactoring, phase 1

Manu Abraham abraham.manu at gmail.com
Mon Aug 20 17:05:59 CEST 2007


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.





More information about the linux-dvb mailing list