From: Alex Bennée Date: Mon, 25 Jul 2022 14:05:19 +0000 (+0100) Subject: docs/devel: fix description of OBJECT_DECLARE_SIMPLE_TYPE X-Git-Tag: v7.1.0-rc1~14^2~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=28053143ab865d5a5fae7d486cf68181d37dde72;p=thirdparty%2Fqemu.git docs/devel: fix description of OBJECT_DECLARE_SIMPLE_TYPE Since 30b5707c26 (qom: Remove module_obj_name parameter from OBJECT_DECLARE* macros) we don't need the additional two parameters. Fix the documentation. Signed-off-by: Alex Bennée Reviewed-by: Richard Henderson Reviewed-by: Philippe Mathieu-Daudé Message-Id: <20220725140520.515340-13-alex.bennee@linaro.org> --- diff --git a/docs/devel/qom.rst b/docs/devel/qom.rst index e5fe3597cd8..0cf9a714f05 100644 --- a/docs/devel/qom.rst +++ b/docs/devel/qom.rst @@ -292,8 +292,7 @@ in the header file: .. code-block:: c :caption: Declaring a simple type - OBJECT_DECLARE_SIMPLE_TYPE(MyDevice, my_device, - MY_DEVICE, DEVICE) + OBJECT_DECLARE_SIMPLE_TYPE(MyDevice, MY_DEVICE) This is equivalent to the following: