diff options
author | Mauro Carvalho Chehab <mchehab+huawei@kernel.org> | 2020-09-26 09:08:38 +0200 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab+huawei@kernel.org> | 2020-09-30 18:50:20 +0200 |
commit | c3cfc5f484e05e25bf855126bad949078f3dc590 (patch) | |
tree | e9bd99b17c56faa93379ba587a7f2f59153e30e0 /include/media | |
parent | 181220d469fe8f8c838d2f9d08fe05529fe6f440 (diff) | |
download | linux-c3cfc5f484e05e25bf855126bad949078f3dc590.tar.bz2 |
media: cec-core.rst: fix warnings with Sphinx 3.0+
The new C domain code on Sphinx 3 is a lot more pedantic.
It only accepts real functions declared as c:function.
So, declarations like this are not valid:
.. c:function::
int (*adap_enable)(struct cec_adapter *adap, bool enable);
Also, no blank lines are allowed after ".. c:function:", and
continuation lines should be like:
.. c:function:
int (void foo, \
int bar);
Change the logic there, in order to avoid lots of warnings
when built with Sphinx 3.x.
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Diffstat (limited to 'include/media')
0 files changed, 0 insertions, 0 deletions