Patchwork qdev: move comment

login
register
mail settings
Submitter Gerd Hoffmann
Date Oct. 6, 2009, 7:17 p.m.
Message ID <1254856672-21978-1-git-send-email-kraxel@redhat.com>
Download mbox | patch
Permalink /patch/35137/
State Accepted
Headers show

Comments

Gerd Hoffmann - Oct. 6, 2009, 7:17 p.m.
Move comment back next to main_system_bus to avoid confusion.

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
---
 hw/qdev.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

Patch

diff --git a/hw/qdev.c b/hw/qdev.c
index 96cf411..cc8071e 100644
--- a/hw/qdev.c
+++ b/hw/qdev.c
@@ -30,9 +30,9 @@ 
 #include "sysemu.h"
 #include "monitor.h"
 
-/* This is a nasty hack to allow passing a NULL bus to qdev_create.  */
 static int qdev_hotplug = 0;
 
+/* This is a nasty hack to allow passing a NULL bus to qdev_create.  */
 static BusState *main_system_bus;
 
 static DeviceInfo *device_info_list;