From: Thomas Monjalon Date: Thu, 7 Jul 2016 09:52:40 +0000 (+0200) Subject: doc: fix syntax in pmdinfogen guide X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=14cbea8472ac47dfdd5a004945b26e4357bbf271;p=dpdk.git doc: fix syntax in pmdinfogen guide Sphynx reports this error: doc/guides/prog_guide/dev_kit_build_system.rst:337: WARNING: Pygments lexer name u'C' is not known Fixes: 737ddf3fb ("doc: add prog guide section documenting pmdinfo script") Reported-by: Bernard Iremonger Signed-off-by: Thomas Monjalon Acked-by: Neil Horman --- diff --git a/doc/guides/prog_guide/dev_kit_build_system.rst b/doc/guides/prog_guide/dev_kit_build_system.rst index 1dc13881a8..18a30104dc 100644 --- a/doc/guides/prog_guide/dev_kit_build_system.rst +++ b/doc/guides/prog_guide/dev_kit_build_system.rst @@ -319,8 +319,7 @@ instance the macro: .. code-block:: c - PMD_REGISTER_DRIVER(drv, name) - + PMD_REGISTER_DRIVER(drv, name) Creates the following symbol: @@ -334,7 +333,7 @@ can be exported from the object file and used to produce a hardware support description, that pmdinfogen then encodes into a json formatted string in the following format: -.. code-block:: C +.. code-block:: c static char ="PMD_INFO_STRING=\"{'name' : '', ...}\"";