aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab+huawei@kernel.org>2020-09-26 09:08:38 +0200
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>2020-10-15 07:49:40 +0200
commit5b76632ed957e7b43e12f4105d0efb8d734fc659 (patch)
treeb432155187b828ddec2e87de4d8231905822ea93
parentmedia: docs: make RC documents more compatible with Sphinx 3.1+ (diff)
downloadlinux-dev-5b76632ed957e7b43e12f4105d0efb8d734fc659.tar.xz
linux-dev-5b76632ed957e7b43e12f4105d0efb8d734fc659.zip
media: cec-core.rst: don't use c:type for structs
The new C domain code on Sphinx 3 doesn't allow anymore to use c:type:: for structs. Now that cdomain.py has backward support, let's use c:struct:: instead. Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
-rw-r--r--Documentation/driver-api/media/cec-core.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Documentation/driver-api/media/cec-core.rst b/Documentation/driver-api/media/cec-core.rst
index 03016eeaf8f4..bc42982ac21e 100644
--- a/Documentation/driver-api/media/cec-core.rst
+++ b/Documentation/driver-api/media/cec-core.rst
@@ -98,7 +98,7 @@ Implementing the Low-Level CEC Adapter
The following low-level adapter operations have to be implemented in
your driver:
-.. c:type:: struct cec_adap_ops
+.. c:struct:: cec_adap_ops
.. code-block:: none