[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v2 01/23] qom/object: Update documentation
From: |
Philippe Mathieu-Daudé |
Subject: |
[PATCH v2 01/23] qom/object: Update documentation |
Date: |
Sat, 4 Jul 2020 17:38:46 +0200 |
The documentation was introduced in 2f28d2ff9dc, then
0d09e41a51 and a27bd6c77 moved the headers around.
Update the comment.
Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
---
include/qom/object.h | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/include/qom/object.h b/include/qom/object.h
index 94a61ccc3f..03dcd3623e 100644
--- a/include/qom/object.h
+++ b/include/qom/object.h
@@ -43,7 +43,7 @@ typedef struct InterfaceInfo InterfaceInfo;
* <example>
* <title>Creating a minimal type</title>
* <programlisting>
- * #include "qdev.h"
+ * #include "hw/qdev-core.h"
*
* #define TYPE_MY_DEVICE "my-device"
*
@@ -144,7 +144,7 @@ typedef struct InterfaceInfo InterfaceInfo;
* <example>
* <title>Overriding a virtual function</title>
* <programlisting>
- * #include "qdev.h"
+ * #include "hw/qdev-core.h"
*
* void my_device_class_init(ObjectClass *klass, void *class_data)
* {
@@ -168,7 +168,7 @@ typedef struct InterfaceInfo InterfaceInfo;
* <example>
* <title>Defining an abstract class</title>
* <programlisting>
- * #include "qdev.h"
+ * #include "hw/qdev-core.h"
*
* typedef struct MyDeviceClass
* {
--
2.21.3
- [RFC PATCH v2 00/23] hw/qdev: Warn when using pre-qdev/QOM devices, Philippe Mathieu-Daudé, 2020/07/04
- [PATCH v2 01/23] qom/object: Update documentation,
Philippe Mathieu-Daudé <=
- [RFC PATCH v2 02/23] hw/core/qdev: Add qdev_warn_deprecated_function_used() helper, Philippe Mathieu-Daudé, 2020/07/04
- [RFC PATCH v2 03/23] hw/arm/omap: Emit warning when old code is used, Philippe Mathieu-Daudé, 2020/07/04
- [RFC PATCH v2 04/23] hw/arm/pxa2xx: Emit warning when old code is used, Philippe Mathieu-Daudé, 2020/07/04
- [RFC PATCH v2 05/23] hw/arm/nseries: Emit warning when old code is used, Philippe Mathieu-Daudé, 2020/07/04
- [RFC PATCH v2 06/23] hw/char/parallel: Emit warning when old code is used, Philippe Mathieu-Daudé, 2020/07/04
- [RFC PATCH v2 07/23] hw/display/blizzard: Emit warning when old code is used, Philippe Mathieu-Daudé, 2020/07/04
- [RFC PATCH v2 08/23] hw/display/ramfb: Emit warning when old code is used, Philippe Mathieu-Daudé, 2020/07/04