Fix Sparse warning
[qemu] / hw / qdev.c
index 689cf4c..636dc78 100644 (file)
--- 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;