forked from Minki/linux
e8be7e97e6
instead of declaring the uAPI structs using usual refs, e. g.: .. _foo-struct: Use the C domain way: .. c:type:: foo_struct This way, the kAPI documentation can use cross-references to point to the uAPI symbols. That solves about ~100 undefined warnings like: WARNING: c:type reference target not found: foo_struct Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
18 lines
267 B
ReStructuredText
18 lines
267 B
ReStructuredText
.. -*- coding: utf-8; mode: rst -*-
|
|
|
|
.. c:type:: dtv_fe_stats
|
|
|
|
*******************
|
|
struct dtv_fe_stats
|
|
*******************
|
|
|
|
|
|
.. code-block:: c
|
|
|
|
#define MAX_DTV_STATS 4
|
|
|
|
struct dtv_fe_stats {
|
|
__u8 len;
|
|
struct dtv_stats stat[MAX_DTV_STATS];
|
|
} __packed;
|