Patchwork [10/12] qdev: use full qdev.h include path on qdev*.c

login
register
mail settings
Submitter Eduardo Habkost
Date Oct. 16, 2012, 7:08 p.m.
Message ID <1350414523-8117-11-git-send-email-ehabkost@redhat.com>
Download mbox | patch
Permalink /patch/191868/
State New
Headers show

Comments

Eduardo Habkost - Oct. 16, 2012, 7:08 p.m.
This way, the files can be moved to the qom/ directory as-is.

Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
---
 hw/qdev-core.c       | 2 +-
 hw/qdev-properties.c | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

Patch

diff --git a/hw/qdev-core.c b/hw/qdev-core.c
index a756e07..fbb7cb5 100644
--- a/hw/qdev-core.c
+++ b/hw/qdev-core.c
@@ -25,7 +25,7 @@ 
    inherit from a particular bus (e.g. PCI or I2C) rather than
    this API directly.  */
 
-#include "qdev.h"
+#include "hw/qdev.h"
 #include "sysemu.h"
 #include "error.h"
 #include "qapi/qapi-visit-core.h"
diff --git a/hw/qdev-properties.c b/hw/qdev-properties.c
index 917d986..2e82cb9 100644
--- a/hw/qdev-properties.c
+++ b/hw/qdev-properties.c
@@ -1,5 +1,5 @@ 
 #include "net.h"
-#include "qdev.h"
+#include "hw/qdev.h"
 #include "qerror.h"
 #include "blockdev.h"
 #include "hw/block-common.h"