diff mbox

[RFC,6/8] qdev: use full qdev.h include path on qdev*.c

Message ID 1345563782-11224-7-git-send-email-ehabkost@redhat.com
State New
Headers show

Commit Message

Eduardo Habkost Aug. 21, 2012, 3:43 p.m. UTC
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
---
 hw/qdev-properties.c | 2 +-
 hw/qdev.c            | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

Comments

Eduardo Habkost Aug. 21, 2012, 6:25 p.m. UTC | #1
On Tue, Aug 21, 2012 at 05:29:41PM +0100, Peter Maydell wrote:
> On 21 August 2012 16:43, Eduardo Habkost <ehabkost@redhat.com> wrote:
> > Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
> 
> This could use a commit message saying why rather than merely
> what the patch does.

Sorry. The reason is to allow the files to be moved inside "qom/" in the
next commit.
diff mbox

Patch

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"
diff --git a/hw/qdev.c b/hw/qdev.c
index 3dc38f7..ebe6671 100644
--- a/hw/qdev.c
+++ b/hw/qdev.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"