aboutsummaryrefslogtreecommitdiff
path: root/hw/qdev.c
diff options
context:
space:
mode:
authorBlue Swirl <blauwirbel@gmail.com>2009-06-09 18:38:51 +0000
committerBlue Swirl <blauwirbel@gmail.com>2009-06-09 18:38:51 +0000
commitb9aaf7f8596df4c286498714e492b2e73fd07b9c (patch)
treef1978b571a6beeb9988a165114e7fa82fb58a99f /hw/qdev.c
parentcec9fac15dfb01dc9840c490342ca99493ab6bd5 (diff)
Fix Sparse warning
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Diffstat (limited to 'hw/qdev.c')
-rw-r--r--hw/qdev.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/qdev.c b/hw/qdev.c
index 689cf4cf93..636dc78e59 100644
--- a/hw/qdev.c
+++ b/hw/qdev.c
@@ -49,7 +49,7 @@ struct DeviceType {
};
/* This is a nasty hack to allow passing a NULL bus to qdev_create. */
-BusState *main_system_bus;
+static BusState *main_system_bus;
static DeviceType *device_type_list;