[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[RFC PATCH 01/35] qom/object: Update documentation
From: |
Philippe Mathieu-Daudé |
Subject: |
[RFC PATCH 01/35] qom/object: Update documentation |
Date: |
Mon, 8 Jun 2020 18:00:10 +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 fd453dc8d6..eb560bf32f 100644
--- a/include/qom/object.h
+++ b/include/qom/object.h
@@ -45,7 +45,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"
*
@@ -146,7 +146,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)
* {
@@ -170,7 +170,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 00/35] hw/qdev: Warn when using pre-qdev/QOM devices, Philippe Mathieu-Daudé, 2020/06/08
- [RFC PATCH 01/35] qom/object: Update documentation,
Philippe Mathieu-Daudé <=
- [RFC PATCH 02/35] hw/core/qdev: Add qdev_warn_deprecated_function_used() helper, Philippe Mathieu-Daudé, 2020/06/08
- [RFC PATCH 04/35] hw/arm/pxa2xx: Emit warning when old code is used, Philippe Mathieu-Daudé, 2020/06/08
- [RFC PATCH 06/35] hw/timer/arm_timer: Emit warning when old code is used, Philippe Mathieu-Daudé, 2020/06/08
- [RFC PATCH 07/35] hw/char/parallel: Emit warning when old code is used, Philippe Mathieu-Daudé, 2020/06/08
- [RFC PATCH 08/35] hw/display/blizzard: Emit warning when old code is used, Philippe Mathieu-Daudé, 2020/06/08
- [RFC PATCH 09/35] hw/display/ramfb: Emit warning when old code is used, Philippe Mathieu-Daudé, 2020/06/08
- [RFC PATCH 10/35] hw/display/tc6393xb: Emit warning when old code is used, Philippe Mathieu-Daudé, 2020/06/08
- [RFC PATCH 11/35] hw/display/vga-isa-mm: Emit warning when old code is used, Philippe Mathieu-Daudé, 2020/06/08
- [RFC PATCH 12/35] hw/dma/etraxfs_dma: Emit warning when old code is used, Philippe Mathieu-Daudé, 2020/06/08