media: cec-core.rst: don't use c:type for structs
authorMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Sat, 26 Sep 2020 07:08:38 +0000 (09:08 +0200)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Thu, 15 Oct 2020 05:49:40 +0000 (07:49 +0200)
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>
Documentation/driver-api/media/cec-core.rst

index 03016eeaf8f4c8e1586724b1b0a845a5483bb7ce..bc42982ac21e889ea9431cec6c9b4a5793ed5c5a 100644 (file)
@@ -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