diff options
author | Alex Bennée | 2022-07-25 16:05:19 +0200 |
---|---|---|
committer | Alex Bennée | 2022-07-29 10:48:01 +0200 |
commit | 28053143ab865d5a5fae7d486cf68181d37dde72 (patch) | |
tree | 982219fd89cce76bd0527296b2773e1a9bd64c47 /docs | |
parent | tests/tcg/s390x: Test unaligned accesses to lowcore (diff) | |
download | qemu-28053143ab865d5a5fae7d486cf68181d37dde72.tar.gz qemu-28053143ab865d5a5fae7d486cf68181d37dde72.tar.xz qemu-28053143ab865d5a5fae7d486cf68181d37dde72.zip |
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 <alex.bennee@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Message-Id: <20220725140520.515340-13-alex.bennee@linaro.org>
Diffstat (limited to 'docs')
-rw-r--r-- | docs/devel/qom.rst | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/docs/devel/qom.rst b/docs/devel/qom.rst index e5fe3597cd..0cf9a714f0 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: |