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 03016ee..bc42982 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