]> Git Repo - qemu.git/blobdiff - hw/qdev.h
Suppress a Sparse warning
[qemu.git] / hw / qdev.h
index 11744fa5396c7b92677dc3e96f03c1e09b2f2196..59ac8dc512b9ec841b43f460b4832b259eaec623 100644 (file)
--- a/hw/qdev.h
+++ b/hw/qdev.h
@@ -162,4 +162,7 @@ void qdev_prop_set_defaults(DeviceState *dev, Property *props);
 void qdev_prop_register_compat(CompatProperty *props);
 void qdev_prop_set_compat(DeviceState *dev);
 
+/* This is a nasty hack to allow passing a NULL bus to qdev_create.  */
+extern struct BusInfo system_bus_info;
+
 #endif
This page took 0.024588 seconds and 4 git commands to generate.