Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

[media] dvb: deprecate the usage of ops->info.type

Mark info.type as deprecated inside the header, recommending
the usage of DTV_ENUM_DELSYS DVBv5 command instead.

Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>

+5 -1
+4
Documentation/DocBook/media/dvb/frontend.xml
··· 63 63 <para>Newer formats like DVB-S2, ISDB-T, ISDB-S and DVB-T2 are not described at the above, as they're 64 64 supported via the new <link linkend="FE_GET_SET_PROPERTY">FE_GET_PROPERTY/FE_GET_SET_PROPERTY</link> ioctl's, using the <link linkend="DTV-DELIVERY-SYSTEM">DTV_DELIVERY_SYSTEM</link> parameter. 65 65 </para> 66 + 67 + <para>The usage of this field is deprecated, as it doesn't report all supported standards, and 68 + will provide an incomplete information for frontends that support multiple delivery systems. 69 + Please use <link linkend="DTV_ENUM_DELSYS">DTV_ENUM_DELSYS</link> instead.</para> 66 70 </section> 67 71 68 72 <section id="fe-caps-t">
+1 -1
include/linux/dvb/frontend.h
··· 72 72 73 73 struct dvb_frontend_info { 74 74 char name[128]; 75 - fe_type_t type; 75 + fe_type_t type; /* DEPRECATED. Use DTV_ENUM_DELSYS instead */ 76 76 __u32 frequency_min; 77 77 __u32 frequency_max; 78 78 __u32 frequency_stepsize;